-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
Repl 2018-08-13
-
16
Clients use the isMaster field here to determine whether or not to direct writes to the node. When we're technically "master" but we can't accept writes (i.e. when in drain mode), we claim not to be master. We should do the same while shutting down.
This affects retryable writes, in that a write interrupted due to shutdown may immediately re-try on the same node if it still claims to be master.
- is depended on by
-
SERVER-34666 Reduce the number of retries needed for running the retryable_writes_jscore_stepdown_passthrough.yml test suite
- Backlog