Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53132

scoped task executor shutdown called during PrimaryOnlyService::shutdown should throw ErrorCodes::InterruptedAtShutdown.

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      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.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: