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>
}
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);