mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
Merge pull request #3639 from ceph/wip-10770
rgw: send appropriate op to cancel bucket index pending operation Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
49486deb3e
@ -7412,7 +7412,7 @@ int RGWRados::cls_obj_complete_cancel(BucketShard& bs, string& tag, rgw_obj& obj
|
||||
{
|
||||
RGWObjEnt ent;
|
||||
obj.get_index_key(&ent.key);
|
||||
return cls_obj_complete_op(bs, CLS_RGW_OP_ADD, tag, -1 /* pool id */, 0, ent, RGW_OBJ_CATEGORY_NONE, NULL, bilog_flags);
|
||||
return cls_obj_complete_op(bs, CLS_RGW_OP_CANCEL, tag, -1 /* pool id */, 0, ent, RGW_OBJ_CATEGORY_NONE, NULL, bilog_flags);
|
||||
}
|
||||
|
||||
int RGWRados::cls_obj_set_bucket_tag_timeout(rgw_bucket& bucket, uint64_t timeout)
|
||||
|
Loading…
Reference in New Issue
Block a user