]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
monclient: use "is_connected" check when scheduling tick 36065/head
authorMykola Golub <mgolub@suse.com>
Thu, 30 Jul 2020 05:59:57 +0000 (06:59 +0100)
committerMykola Golub <mgolub@suse.com>
Thu, 30 Jul 2020 05:59:57 +0000 (06:59 +0100)
commitd86b389a51e870c1aa5182a93095f5efb12e41e4
treecfa5bc58014f249558e0e0dd2988d35d6d391bf2
parentd0f26a119ab45378e28f6a860e27768db7f890e8
monclient: use "is_connected" check when scheduling tick

When schedule_tick is called for the first time (in init) we are
still not in hunting mode so mon_client_ping_interval and
mon_client_log_interval were used to schedule the tick.

Fixes: https://tracker.ceph.com/issues/46445
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/mon/MonClient.cc