-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 17 (07/15/16), Repl 18 (08/05/16), Repl 2016-08-29, Repl 2016-09-19
-
0
The replsetFreeze command can, under certain circumstances, change the role from candidate to leader. The circumstances that are covered by the current code logic are not fully correct, in particular during a dry-run election.
The invariant will fail with this comdition:
_role == Role::candidate
- is duplicated by
-
SERVER-25819 A replSetFreeze during an election will ignore voting and transition to primary immediately
- Closed
- is related to
-
SERVER-15535 Master ticket for fixing all test failures from switching to the new ReplicationCoordinator
- Closed
- related to
-
SERVER-26249 replsetfreeze.js should wait for replica set to reach steady state before stepping primary down
- Closed