]> 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>
Wed, 21 Dec 2022 21:57:08 +0000 (21:57 +0000)
commit245c5beac5327968f9c316d2eea4c5505dec605c
tree9d143e55a3b8bfaf1e66b57027a669701cd57460
parent0bbe6048e78da43772dfb407d9730cbed846597b
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