]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: list bucket can not show the object uploaded by RGWPostObj 24341/head
authoryuliyang <yuliyang@cmss.chinamobile.com>
Sun, 30 Sep 2018 09:26:58 +0000 (17:26 +0800)
committeryuliyang <yuliyang@cmss.chinamobile.com>
Sun, 30 Sep 2018 09:35:04 +0000 (17:35 +0800)
when enable bucket versioning

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

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
src/rgw/rgw_op.cc

index 3fef96bad5a829f22930838b3d6b0ba2dcdfddf7..9f5830b58b65e9de4639d244aa2899d3c9f50b06 100644 (file)
@@ -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;