Project

General

Profile

Actions

Bug #4858

closed

mon: doesn't necessarily call reset() during an election cycle

Added by Greg Farnum about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Monitor
Target version:
% 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.


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #4747: Upgrade monitors from argonaut->bobtail->next fails w/"Existing store has not been converted to 0.52 format"ResolvedGreg Farnum04/18/2013

Actions
Actions

Also available in: Atom PDF