]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
src/mon/OSDMonitor.cc: more descriptive loggings for crc mismatch
authorKamoltat <ksirivad@redhat.com>
Wed, 13 Dec 2023 16:59:16 +0000 (16:59 +0000)
committerKamoltat <ksirivad@redhat.com>
Wed, 13 Dec 2023 16:59:16 +0000 (16:59 +0000)
commit15479752096d7d927c1e0051cebc6144246d7b2e
tree97d38ab0d2b949b90d49b6e9ca997e449890e122
parent553bb23df7cb4554a79845b6f15ee582c71e32db
src/mon/OSDMonitor.cc: more descriptive loggings for crc mismatch

Problem:
When mons are running different versions, e.g.,
during upgrades, we sometimes will encounter a crc
mismatch between the crc that is generated
from the leader MON (version n+1) and
the peon MON (version). Which will
later then gets resolved when all the MONs
are at version n+1.

Solution:
Provide a more informative loggings when
we encounter a CRC mismatch and also
output the mon versions so it's easier
for us to detect which if the crc mismatch
comes from OSDMap running mixed versions or
not.

Fixes: https://tracker.ceph.com/issues/63389
Signed-off-by: Kamoltat <ksirivad@redhat.com>
src/mon/OSDMonitor.cc