]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
monclient: use "is_connected" check when scheduling tick 36633/head
authorMykola Golub <mgolub@suse.com>
Thu, 30 Jul 2020 05:59:57 +0000 (06:59 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Aug 2020 09:56:42 +0000 (11:56 +0200)
commitdbecd4f107dafcc25469e083970b058899cab024
treed9c860768bf58ec8e555f36537e9ac93cf0988b5
parent35adebe94e8b0a17e7b56379a8bf24e5f7b8ced4
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>
(cherry picked from commit d86b389a51e870c1aa5182a93095f5efb12e41e4)
src/mon/MonClient.cc