]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/notification: make notifications agnostic of bucket reshard 42946/head
authorYuval Lifshitz <ylifshit@redhat.com>
Mon, 21 Jun 2021 17:32:08 +0000 (20:32 +0300)
committerYuval Lifshitz <ylifshit@redhat.com>
Fri, 27 Aug 2021 08:12:33 +0000 (11:12 +0300)
Fixes: https://tracker.ceph.com/issues/51293
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 201942f2d4c8f2c21b49619f77cbb7c8693447e8)

src/rgw/rgw_pubsub.h

index b82384e64ec5448d05084cd34ccee2cd010b2dfc..958fb9ce2e27f8c18952cd6ce4209ef1347a6eac 100644 (file)
@@ -603,7 +603,7 @@ class RGWPubSub
   }
 
   std::string bucket_meta_oid(const rgw_bucket& bucket) const {
-    return pubsub_oid_prefix + tenant + ".bucket." + bucket.name + "/" + bucket.bucket_id;
+    return pubsub_oid_prefix + tenant + ".bucket." + bucket.name + "/" + bucket.marker;
   }
 
   std::string sub_meta_oid(const string& name) const {