]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: remove a #warning with a comment
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 26 Nov 2019 20:54:14 +0000 (12:54 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 28 Jan 2020 18:20:39 +0000 (10:20 -0800)
It's a nice to have, not crucial

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_bucket_sync.cc

index 6ce7341b4173453c08241bd402ed37ba4c6211b4..f54e3476ab569b43f290c12b908d9d7def9cf9eb 100644 (file)
@@ -404,7 +404,9 @@ bool RGWBucketSyncFlowManager::pipe_rules::find_obj_params(const rgw_obj_key& ke
   std::optional<int> 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;