Actions
Bug #4858
closedmon: doesn't necessarily call reset() during an election cycle
% Done:
0%
Source:
other
Tags:
Backport:
bobtail
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We need to call Monitor::reset() at some point during an election in order to guarantee consistency. However, we don't. It's mostly called via bootstrap(), but bootstrap() is only called if a lease or whatever times out, or if it notices a consistency issue later on.
This means that it's possible that only the monitor initiating an election calls reset(), which is generally bad.
This applies to both Bobtail and Cuttlefish, and is the underlying cause of the troubles with #4747.
Actions