Not sure how I got that wrong, but we bump_epoch() on
winning an election, right before we start looking through
peer_info. So just do it on election start instead.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
void Elector::notify_bump_epoch()
{
- peer_info.clear();
mon->join_election();
}
void Elector::message_victory(const set<int>& quorum)
{
-
uint64_t cluster_features = CEPH_FEATURES_ALL;
mon_feature_t mon_features = ceph::features::mon::get_supported();
map<int,Metadata> metadata;