rgw/notification: make notifications agnostic of bucket reshard

Fixes: https://tracker.ceph.com/issues/51293

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
This commit is contained in:
Yuval Lifshitz 2021-06-21 20:32:08 +03:00
parent 87ab4d7afa
commit 201942f2d4

View 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 {