]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Init Loggings for ConnectionTracker.cc & Added more loggings to ElectionLogic...
authorKamoltat <ksirivad@redhat.com>
Thu, 13 Oct 2022 13:24:14 +0000 (13:24 +0000)
committerKamoltat <ksirivad@redhat.com>
Mon, 26 Dec 2022 05:13:14 +0000 (05:13 +0000)
commitb5e753a5d959f05c5a187cf76e8965d0d1a86e56
treef4876f9346d4096cd7e9e134486aaf13442fe1cf
parent5e705621d88a936e2f14fcdb121dc90bcf18134a
mon: Init Loggings for ConnectionTracker.cc & Added more loggings to ElectionLogic & Elector

Problem:

Currently there are not ConnectionTracker logs,
therefore it is really hard to debug

Solution:

Enable loggings for most functions in ConnectionTracker.cc
Most of the logs are in debug_mon = 30.

Also Added some logs in Elector and ElectionLogic
so that debugging will be easier in the future.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 58f2bd47623b2ac08ae3bdb9931e68128978a88e)
src/mon/ConnectionTracker.cc
src/mon/ConnectionTracker.h
src/mon/ElectionLogic.cc
src/mon/Elector.cc
src/test/mon/test_election.cc