-
Type:
Bug
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Backport Requested:v4.0, v3.6
-
Sprint:Service Arch 2019-03-11, Service Arch 2019-03-25
-
Linked BF Score:50
Kubernetes uses SIGTERM to spin down containers, and our sysv init and systemd unit files use SIGTERM to shutdown the mongodb service. It would greatly reduce election time and prevent potential data loss due to replicaset rollback if we were able to use the election handoff path of stepdown instead of waiting for the full electionTimeoutMillis.
- causes
-
SERVER-40252 Signaling 1-node replica set to shut down now takes an extra 10 seconds
-
- Closed
-
- is documented by
-
DOCS-12561 Docs for SERVER-38994: Step down on SIGTERM
-
- Closed
-
- is duplicated by
-
SERVER-23293 Allow more graceful shutdown from signals
-
- Closed
-
- related to
-
SERVER-39424 Test that DDL operations can't succeed after prepared transactions are aborted during shutdown
-
- Closed
-