-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
v4.0, v3.6
-
Repl 2018-07-02, Repl 2018-07-16
After stepdown finishes, the primary sends a replSetStepUp command to a caught-up candidate. If there is more than one viable candidate whose last applied optime is the same as the primary’s, a candidate with the highest priority will be chosen. If that still ties, the node with the lowest index in config.members is chosen. The replSetStepUp command is scheduled to be sent immediately and stepdown doesn’t wait for the response of replSetStepUp command before returning to the user. The chosen secondary will start an election immediately without waiting for the election timeout.
- is related to
-
SERVER-36779 Election handoff schedules a network request under ReplCoord mutex
- Closed
-
SERVER-35058 Don't only rely on heartbeat to signal secondary positions in stepdown command
- Closed