-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Service Arch
Currently PrimaryOnlyService::shutdown() interrupts the instances using ErrorCodes::InterruptedAtShutdown . Also shuts down the scoped task executor, and the executor shutdown status gets returned is {ErrorCodes::InterruptedDueToReplStateChange",PrimaryOnlyService executor shut down due to stepDown"}. Though both ErrorCodes::InterruptedAtShutdown & ErrorCodes::InterruptedDueToReplStateChange are retryable error codes, it can cause confusion.
- is related to
-
SERVER-52751 Remove the interrupt() function from PrimaryOnlyService::Instance and use CancelationToken cancelation to handle interruptions instead
- Backlog