From 201942f2d4c8f2c21b49619f77cbb7c8693447e8 Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Mon, 21 Jun 2021 20:32:08 +0300 Subject: [PATCH] rgw/notification: make notifications agnostic of bucket reshard Fixes: https://tracker.ceph.com/issues/51293 Signed-off-by: Yuval Lifshitz --- src/rgw/rgw_pubsub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_pubsub.h b/src/rgw/rgw_pubsub.h index f667acd9009..ba86bbe845e 100644 --- a/src/rgw/rgw_pubsub.h +++ b/src/rgw/rgw_pubsub.h @@ -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 { -- 2.47.3