-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
v4.0, v3.6
-
Service Arch 2019-03-11, Service Arch 2019-03-25
-
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 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