-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2019-01-28, Repl 2019-02-11, Repl 2019-02-25
Add the following metrics to server status:
- repl.stepDown.userWriteOperationsKilled: Write operations killed by stepdown.
- repl.stepDown.userReadOperationsRunning: Read operations left running at stepdown
- repl.network.secondaryLegacyUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write (legacy ops)
- repl.network.secondaryUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write
Add the following logging:
- At stepdown log the number of operations killed and preserved.
- Log when an unacknowledged write results in a disconnection.
- depends on
-
SERVER-38511 Implement new stepdown sequence, gated by “closeConnectionsOnStepdown”.
- Closed