-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
Fully Compatible
-
ALL
-
Networking & Obs 2024-12-09
-
200
TransportLayerManagerImpl uses invariant to enforce strict state transitions from kUninitialized -> kSetup -> kStarted -> kShutdown. However, the state can also transition to kShutdown from any state, and this can happen at any time (e.g. if a SIGTERM signal is handled). If such a signal happens to be received prior to startup being completed, an invariant can be triggered, crashing the process during shutdown.
We should relax these invariants to expect that shutdown may come at any time.
- is related to
-
SERVER-97701 initAndListen crashes when run concurrently with shutdown
- Open