From e8e7ba8fde7a0a4cecd56b5531317be24c3a26e9 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 26 Jan 2025 01:13:13 +0300 Subject: [PATCH] Add FIXME for CAS in non-immediate_commit mode --- src/osd/osd_primary_write.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/osd_primary_write.cpp b/src/osd/osd_primary_write.cpp index f2c263fa..e00a8a9d 100644 --- a/src/osd/osd_primary_write.cpp +++ b/src/osd/osd_primary_write.cpp @@ -165,6 +165,7 @@ resume_3: return; } // Check CAS version + // FIXME: Handle CAS writes as "immediate" in non-immediate_commit pools, otherwise CAS doesn't make sense if (cur_op->req.rw.version && op_data->fact_ver != (cur_op->req.rw.version-1)) { deref_object_state(pg, &op_data->object_state, true);