From: Adam C. Emerson Date: Sun, 13 Dec 2020 23:54:28 +0000 (-0500) Subject: rgw: vector not list X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8da109bcb0ab951bb083d89de4a65fd56a37d2c4;p=ceph.git rgw: vector not list Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 48bf4210895b9..a9d0e4b04bd15 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -280,7 +280,7 @@ public: struct read_remote_data_log_response { string marker; bool truncated; - list entries; + vector entries; read_remote_data_log_response() : truncated(false) {} @@ -300,7 +300,7 @@ class RGWReadRemoteDataLogShardCR : public RGWCoroutine { int shard_id; const std::string& marker; string *pnext_marker; - list *entries; + vector *entries; bool *truncated; read_remote_data_log_response response; @@ -309,7 +309,7 @@ class RGWReadRemoteDataLogShardCR : public RGWCoroutine { public: RGWReadRemoteDataLogShardCR(RGWDataSyncCtx *_sc, int _shard_id, const std::string& marker, string *pnext_marker, - list *_entries, + vector *_entries, bool *_truncated) : RGWCoroutine(_sc->cct), sc(_sc), sync_env(_sc->env), shard_id(_shard_id), marker(marker), pnext_marker(pnext_marker), @@ -1415,8 +1415,8 @@ class RGWDataSyncShardCR : public RGWCoroutine { std::optional marker_tracker; std::string next_marker; - list log_entries; - list::iterator log_iter; + vector log_entries; + vector::iterator log_iter; bool truncated = false; ceph::mutex inc_lock = ceph::make_mutex("RGWDataSyncShardCR::inc_lock"); @@ -3290,7 +3290,7 @@ class RGWReadPendingBucketShardsCoroutine : public RGWCoroutine { int count; std::string next_marker; - list log_entries; + vector log_entries; bool truncated; public: