mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
Merge pull request #20016 from cbodley/wip-18885
rgw: log unlink_instance mtime as object's mtime Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
commit
19fb77e217
@ -1673,7 +1673,7 @@ static int rgw_bucket_unlink_instance(cls_method_context_t hctx, bufferlist *in,
|
||||
rgw_bucket_entry_ver ver;
|
||||
ver.epoch = (op.olh_epoch ? op.olh_epoch : olh.get_epoch());
|
||||
|
||||
real_time mtime = real_clock::now(); /* mtime has no real meaning in instance removal context */
|
||||
real_time mtime = obj.mtime(); /* mtime has no real meaning in instance removal context */
|
||||
ret = log_index_operation(hctx, op.key, CLS_RGW_OP_UNLINK_INSTANCE, op.op_tag,
|
||||
mtime, ver,
|
||||
CLS_RGW_STATE_COMPLETE, header.ver, header.max_marker,
|
||||
|
Loading…
Reference in New Issue
Block a user