]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: list bucket can not show the object uploaded by RGWPostObj 24570/head
authoryuliyang <yuliyang@cmss.chinamobile.com>
Sun, 30 Sep 2018 09:26:58 +0000 (17:26 +0800)
committeryuliyang <yuliyang@cmss.chinamobile.com>
Mon, 15 Oct 2018 00:19:02 +0000 (08:19 +0800)
when enable bucket versioning

fix https://tracker.ceph.com/issues/36265

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
(cherry picked from commit 38407f69da898eacf77027d04e2b9544f310ebff)

src/rgw/rgw_op.cc

index 83b9439fa59947a9f470b456122817d28b2996ba..dce4549f6396235477387f29c1ba8f0196838e76 100644 (file)
@@ -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;