]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async: reduce verbosity of connection timeout failures 27915/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 9 May 2019 18:50:12 +0000 (14:50 -0400)
committerPrashant D <pdhange@redhat.com>
Wed, 5 Jun 2019 03:24:42 +0000 (23:24 -0400)
Long running clients connected to thrashing OSDs could result in a
"see no progress in more than <timeout>" message printed to stderr.
This is not an error but can result in test failures when console
output is compared against expected output.

Fixes: http://tracker.ceph.com/issues/39448
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6b4f9729fd7cec14352b74cb3674a893159a1aa5)

src/msg/async/AsyncConnection.cc

index 9c0d68d98f80f314b4b5f8fda16f2896e7d1c2e4..cab4145de715711c2722473efa0e050d49643c00 100644 (file)
@@ -747,7 +747,7 @@ void AsyncConnection::tick(uint64_t id)
     if (connect_timeout_us <=
         (uint64_t)std::chrono::duration_cast<std::chrono::microseconds>
           (now - last_connect_started).count()) {
-      ldout(async_msgr->cct, 0) << __func__ << " see no progress in more than "
+      ldout(async_msgr->cct, 1) << __func__ << " see no progress in more than "
                                 << connect_timeout_us
                                 << " us during connecting, fault."
                                 << dendl;