]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: allow CLS call after delete in op list
authorKautilya Tripathi <kautilya.tripathi@ibm.com>
Mon, 16 Feb 2026 03:34:41 +0000 (09:04 +0530)
committerKautilya Tripathi <kautilya.tripathi@ibm.com>
Mon, 23 Feb 2026 04:56:58 +0000 (10:26 +0530)
Avoid returning -ENOENT early for read-only CLS methods when a prior op
in the same compound request makes the object non-existent in memory.
This restores classic-like compound op semantics without
client-specific op reordering.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
src/crimson/osd/ops_executer.cc

index f93292a859371b2cd601e302679761242f4de055..7eed135005cc32d47d0fc0baa92aaa8ded958dd6 100644 (file)
@@ -78,9 +78,6 @@ OpsExecuter::call_ierrorator::future<> OpsExecuter::do_op_call(OSDOp& osd_op)
   }
 
   const auto flags = method->get_flags();
-  if (!obc->obs.exists && (flags & CLS_METHOD_WR) == 0) {
-    return crimson::ct_error::enoent::make();
-  }
 
 #if 0
   if (flags & CLS_METHOD_WR) {