From: yuliyang Date: Sun, 30 Sep 2018 09:26:58 +0000 (+0800) Subject: rgw: list bucket can not show the object uploaded by RGWPostObj X-Git-Tag: v12.2.10~29^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24570%2Fhead;p=ceph.git rgw: list bucket can not show the object uploaded by RGWPostObj when enable bucket versioning fix https://tracker.ceph.com/issues/36265 Signed-off-by: yuliyang (cherry picked from commit 38407f69da898eacf77027d04e2b9544f310ebff) --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 83b9439fa59..dce4549f639 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -3794,6 +3794,7 @@ void RGWPostObj::execute() s->cct->_conf->rgw_obj_stripe_size, s->req_id, s->bucket_info.versioning_enabled()); + processor.set_olh_epoch(0); /* No filters by default. */ filter = &processor;