]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: list bucket can not show the object uploaded by RGWPostObj 24571/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:28:43 +0000 (08:28 +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 4d95edb4255d4f8ae5511ee9b826f254977303a0..e744eb482c17acacd5fb56429c20bdd6d1312c6b 100644 (file)
@@ -3907,6 +3907,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;