]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/mon: do not print error log at seeing unknown connection
authorKefu Chai <kchai@redhat.com>
Tue, 31 Mar 2020 07:32:58 +0000 (15:32 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 1 Apr 2020 12:01:15 +0000 (20:01 +0800)
it happens if a client or an peer osd drops the connection, so it's not
an error and hence we should not print this error message using
"error()".

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

index 0018037013706a4e8c9c49f57dd0ce58a551956b..87712b17aea223863426bbb19d5006632ba66bd4 100644 (file)
@@ -556,7 +556,6 @@ seastar::future<> Client::ms_handle_reset(crimson::net::ConnectionRef conn)
     active_con.reset();
     return reopen_session(-1);
   } else {
-    logger().error("unknown reset from {}", conn->get_peer_addr());
     return seastar::now();
   }
 }