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

run_reconfig_background.js should ignore ShutdownInProgress errors due to quiesce mode

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-06-01, Repl 2020-06-15
    • 8

      In the reconfig kill primary passthrough, it is possible for the run_reconfig_background.js hook to attempt to connect to a primary that is the process of shutting down. In the node is in quiesce mode while we try to connect to it, we will fail with a ShutdownInProgress error and the following error message: "Error: The server is in quiesce mode and will shut down "

      We should catch and ignore this error, the same way we ignore the read preference primary errors.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: