]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/notification: make notifications agnostic of bucket reshard 41956/head
authorYuval Lifshitz <ylifshit@redhat.com>
Mon, 21 Jun 2021 17:32:08 +0000 (20:32 +0300)
committerYuval Lifshitz <ylifshit@redhat.com>
Mon, 21 Jun 2021 17:36:47 +0000 (20:36 +0300)
Fixes: https://tracker.ceph.com/issues/51293
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
src/rgw/rgw_pubsub.h

index f667acd9009ec47018b5ab1aa67c55e2a46ce828..ba86bbe845ee2a3b27ad7a7ce64fe5ff9cce4b75 100644 (file)
@@ -604,7 +604,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 {