From: Kautilya Tripathi Date: Mon, 16 Feb 2026 03:34:41 +0000 (+0530) Subject: crimson/osd: allow CLS call after delete in op list X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1065799d4943d8eed7fe32308c6e7112102d10b;p=ceph.git crimson/osd: allow CLS call after delete in op list 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 --- diff --git a/src/crimson/osd/ops_executer.cc b/src/crimson/osd/ops_executer.cc index 082c12ca92b7..343b93b2dbca 100644 --- a/src/crimson/osd/ops_executer.cc +++ b/src/crimson/osd/ops_executer.cc @@ -78,15 +78,10 @@ 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) { - ctx->user_modify = true; + check_init_op_params(modified_by::user); } -#endif logger().debug("calling method {}.{}, num_read={}, num_write={}", cname, mname, num_read, num_write);