summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_op.cc
diff options
context:
space:
mode:
authorJane Zhu <jzhu116@bloomberg.net>2023-12-07 19:02:28 +0100
committerJuan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>2024-01-10 22:36:35 +0100
commita15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435 (patch)
tree80f64b3de8f9955d6330752a11a09f2951c76dc7 /src/rgw/rgw_op.cc
parentrgw/lc: do not add datalog/bilog for some lc actions (diff)
downloadceph-a15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435.tar.xz
ceph-a15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435.zip
rgw/lc: remove default arguments in virtual functions
Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
Diffstat (limited to 'src/rgw/rgw_op.cc')
-rw-r--r--src/rgw/rgw_op.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc
index 521630e05b0..12fc4a706d9 100644
--- a/src/rgw/rgw_op.cc
+++ b/src/rgw/rgw_op.cc
@@ -4530,7 +4530,7 @@ void RGWPutObj::execute(optional_yield y)
op_ret = processor->complete(s->obj_size, etag, &mtime, real_time(), attrs,
(delete_at ? *delete_at : real_time()), if_match, if_nomatch,
(user_data.empty() ? nullptr : &user_data), nullptr, nullptr,
- rctx);
+ rctx, true);
tracepoint(rgw_op, processor_complete_exit, s->req_id.c_str());
// send request to notification manager
@@ -4799,7 +4799,7 @@ void RGWPostObj::execute(optional_yield y)
op_ret = processor->complete(s->obj_size, etag, nullptr, real_time(), attrs,
(delete_at ? *delete_at : real_time()),
nullptr, nullptr, nullptr, nullptr, nullptr,
- rctx);
+ rctx, true);
if (op_ret < 0) {
return;
}
@@ -5357,7 +5357,7 @@ void RGWDeleteObj::execute(optional_yield y)
del_op->params.olh_epoch = epoch;
del_op->params.marker_version_id = version_id;
- op_ret = del_op->delete_obj(this, y);
+ op_ret = del_op->delete_obj(this, y, true);
if (op_ret >= 0) {
delete_marker = del_op->result.delete_marker;
version_id = del_op->result.version_id;
@@ -6896,7 +6896,7 @@ void RGWAbortMultipart::execute(optional_yield y)
}
multipart_trace = tracing::rgw::tracer.add_span(name(), trace_ctx);
- op_ret = upload->abort(this, s->cct, y);
+ op_ret = upload->abort(this, s->cct, y, true);
}
int RGWListMultipart::verify_permission(optional_yield y)
@@ -7262,7 +7262,7 @@ void RGWDeleteMultiObj::handle_individual_object(const rgw_obj_key& o, optional_
del_op->params.bucket_owner = s->bucket_owner;
del_op->params.marker_version_id = version_id;
- op_ret = del_op->delete_obj(this, y);
+ op_ret = del_op->delete_obj(this, y, true);
if (op_ret == -ENOENT) {
op_ret = 0;
}
@@ -7436,7 +7436,7 @@ bool RGWBulkDelete::Deleter::delete_single(const acct_path_t& path, optional_yie
del_op->params.obj_owner = bowner;
del_op->params.bucket_owner = bucket_owner;
- ret = del_op->delete_obj(dpp, y);
+ ret = del_op->delete_obj(dpp, y, true);
if (ret < 0) {
goto delop_fail;
}
@@ -7949,7 +7949,7 @@ int RGWBulkUploadOp::handle_file(const std::string_view path,
op_ret = processor->complete(size, etag, nullptr, ceph::real_time(),
attrs, ceph::real_time() /* delete_at */,
nullptr, nullptr, nullptr, nullptr, nullptr,
- rctx);
+ rctx, true);
if (op_ret < 0) {
ldpp_dout(this, 20) << "processor::complete returned op_ret=" << op_ret << dendl;
}