]> 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>
Fri, 9 Dec 2022 15:43:45 +0000 (15:43 +0000)
commita781ff788b43fc7a993cb0b2c2ca51509b0680d5
tree97816ab0d93f3d5f0aea3d6477d4edb753ce8dd9
parent94a142f227cfc9a30d62c307267f3493ba307171
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>
src/mon/ConnectionTracker.cc
src/mon/ConnectionTracker.h
src/mon/ElectionLogic.cc
src/mon/Elector.cc
src/test/mon/test_election.cc