diff options
author | Sage Weil <sage@inktank.com> | 2013-06-07 11:41:21 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-19 11:27:05 -0700 |
commit | 392a8e21f8571b410c85be2129ef62dd6fc52b54 (patch) | |
tree | 13179181b2dc50b8722864e97ba8ce9999b26fe2 | |
parent | ee34a219605d1943740fdae0d84cfb9020302dd6 (diff) | |
download | ceph-392a8e21f8571b410c85be2129ef62dd6fc52b54.tar.gz |
mon/PaxosService: not active during paxos UPDATING_PREVIOUS
Treat this as an extension of the recovery process, e.g.
RECOVERING -> ACTIVE
or
RECOVERING -> UPDATING_PREVIOUS -> ACTIVE
and we are not active until we get to "the end" in both cases.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/mon/PaxosService.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/PaxosService.h b/src/mon/PaxosService.h index 600c7082054..73a7bb56efa 100644 --- a/src/mon/PaxosService.h +++ b/src/mon/PaxosService.h @@ -518,7 +518,7 @@ public: bool is_active() { return !is_proposing() && - (paxos->is_active() || paxos->is_updating() || paxos->is_updating_previous()); + (paxos->is_active() || paxos->is_updating()); } /** |