From e87533d2e15882761ba869cfbc68bd6fbb11a2e2 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 26 Nov 2019 12:54:14 -0800 Subject: [PATCH] rgw: remove a #warning with a comment It's a nice to have, not crucial Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_bucket_sync.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_bucket_sync.cc b/src/rgw/rgw_bucket_sync.cc index 6ce7341b417..f54e3476ab5 100644 --- a/src/rgw/rgw_bucket_sync.cc +++ b/src/rgw/rgw_bucket_sync.cc @@ -404,7 +404,9 @@ bool RGWBucketSyncFlowManager::pipe_rules::find_obj_params(const rgw_obj_key& ke std::optional priority; for (; iter != end; ++iter) { -#warning this is not the most efficient way to do it, need trie maybe + /* NOTE: this is not the most efficient way to do it, + * a trie data structure would be better + */ auto& prefix = iter->first; if (!boost::starts_with(key.name, prefix)) { continue; -- 2.39.5