From: Yuval Lifshitz Date: Mon, 21 Jun 2021 17:32:08 +0000 (+0300) Subject: rgw/notification: make notifications agnostic of bucket reshard X-Git-Tag: v17.1.0~1580^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41956%2Fhead;p=ceph.git rgw/notification: make notifications agnostic of bucket reshard Fixes: https://tracker.ceph.com/issues/51293 Signed-off-by: Yuval Lifshitz --- 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 {