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: v14.0.1~60^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38407f69da898eacf77027d04e2b9544f310ebff;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 --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 3fef96bad5a..9f5830b58b6 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -4001,6 +4001,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;