Skip to content

Commit

Permalink
Merge pull request #21213 from smithfarm/wip-23026-jewel
Browse files Browse the repository at this point in the history
jewel: rgw: data sync of versioned objects, note updating bi marker

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
smithfarm committed May 17, 2018
2 parents a4b9544 + f49beb8 commit bd0e27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cls/rgw/cls_rgw.cc
Expand Up @@ -1710,7 +1710,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,
Expand Down

0 comments on commit bd0e27b

Please sign in to comment.