Skip to content

Commit

Permalink
crimson/mon: log when a monitor is fully connected
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Apr 28, 2019
1 parent 870937b commit 2e28ea3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crimson/mon/MonClient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ seastar::future<> Client::reopen_session(int rank)
});
ceph_assert_always(found != pending_conns.end());
active_con.reset(new Connection{std::move(*found)});
logger().info("found mon.{}", monmap.get_name(peer));
return seastar::parallel_for_each(pending_conns, [] (auto& conn) {
return conn.close();
});
Expand Down

0 comments on commit 2e28ea3

Please sign in to comment.