]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/mon: replace #warning with TODO 36891/head
authorKefu Chai <kchai@redhat.com>
Sun, 30 Aug 2020 09:57:38 +0000 (17:57 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 30 Aug 2020 10:32:09 +0000 (18:32 +0800)
less distracting when fixing compiling error / warnings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc

index 34b8824568a3869ffcedc646e0e3e542004d7a72..3d11747829516f33e504edf486b8e1d98b7039cc 100644 (file)
@@ -952,7 +952,7 @@ seastar::future<> Client::reopen_session(int rank)
   }
   pending_conns.reserve(mons.size());
   return seastar::parallel_for_each(mons, [this](auto rank) {
-#warning fixme
+    // TODO: connect to multiple addrs
     auto peer = monmap.get_addrs(rank).pick_addr(msgr.get_myaddr().get_type());
     if (peer == entity_addr_t{}) {
       // crimson msgr only uses the first bound addr