From: Yehuda Sadeh Date: Fri, 17 Jan 2020 19:53:09 +0000 (-0800) Subject: rgw: bucket sync: use list instead of vector X-Git-Tag: v15.1.0~22^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f6be2f1e133053684721b2d2891c7dca542a9f0;p=ceph.git rgw: bucket sync: use list instead of vector Keeping pointers into entries inside the container, vector might be reallocated. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_bucket_sync.h b/src/rgw/rgw_bucket_sync.h index 3e541044947..e24b33af3e9 100644 --- a/src/rgw/rgw_bucket_sync.h +++ b/src/rgw/rgw_bucket_sync.h @@ -137,7 +137,7 @@ public: * pipe_rules: deal with a set of pipes that have common endpoints_pair */ class pipe_rules { - std::vector pipes; + std::list pipes; public: using prefix_map_t = multimap;