]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #54759 from jzhu116-bloomberg/wip-63178
authorCasey Bodley <cbodley@users.noreply.github.com>
Thu, 18 Jan 2024 16:13:19 +0000 (16:13 +0000)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 16:13:19 +0000 (16:13 +0000)
rgw/lc: do not add datalog/bilog for some lc actions

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
1  2 
src/rgw/rgw_op.cc

index 5c91303a3138ba3f58860cb0a9cdb4db2611e294,9103db49cdd9e8dfb3899851aeca4a4ab984fa52..8f1ae6f4068e70ca1fd4b8301ab8cb0bf5d45601
@@@ -4530,11 -4530,8 +4530,11 @@@ void RGWPutObj::execute(optional_yield 
    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, rgw::sal::FLAG_LOG_OP);
    tracepoint(rgw_op, processor_complete_exit, s->req_id.c_str());
 +  if (op_ret < 0) {
 +    return;
 +  }
  
    // send request to notification manager
    int ret = res->publish_commit(this, s->obj_size, mtime, etag, s->object->get_instance());