From: Yehuda Sadeh Date: Fri, 27 Jul 2018 23:21:09 +0000 (-0700) Subject: rgw: pubsub: have sub name as event oid prefix X-Git-Tag: v14.1.0~616^2~29 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=89f773db3497ff9ee3def9465cd6bbf051a4fede;p=ceph.git rgw: pubsub: have sub name as event oid prefix dest should be unique for each subscription Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_sync_module_pubsub_rest.cc b/src/rgw/rgw_sync_module_pubsub_rest.cc index 15b7bf5411dd..c9749cc1b1df 100644 --- a/src/rgw/rgw_sync_module_pubsub_rest.cc +++ b/src/rgw/rgw_sync_module_pubsub_rest.cc @@ -316,6 +316,7 @@ public: dest.push_endpoint = s->info.args.get("push-endpoint"); dest.bucket_name = string(conf["data_bucket_prefix"]) + s->owner.get_id().to_str() + "-" + topic_name; + dest.oid_prefix = string(conf["data_oid_prefix"]) + sub_name + "/"; return 0; }