]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: Add target_addr to log message when connections timed out 43005/head
authorwangxinyu <wangxinyu@inspur.com>
Wed, 1 Sep 2021 07:17:32 +0000 (15:17 +0800)
committerwangxinyu <wangxinyu@inspur.com>
Sun, 5 Sep 2021 02:45:27 +0000 (10:45 +0800)
Add target_addr to log message when connections timed out. It will be
helpful for problem location.

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
src/msg/async/AsyncConnection.cc

index 5769c580e0742f1a513877582a6aac1beb28ad34..e916d26aefe1f9a39b55ee90b2e95c289793c908 100644 (file)
@@ -764,7 +764,8 @@ void AsyncConnection::tick(uint64_t id)
           (now - last_connect_started).count()) {
       ldout(async_msgr->cct, 1) << __func__ << " see no progress in more than "
                                 << connect_timeout_us
-                                << " us during connecting, fault."
+                                << " us during connecting to "
+                                << target_addr << ", fault."
                                 << dendl;
       protocol->fault();
     } else {