[SERVER-48492] run_reconfig_background.js should ignore ShutdownInProgress errors due to quiesce mode Created: 29/May/20  Updated: 29/Oct/23  Resolved: 04/Jun/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-51893 Ignore "can't connect to new replica ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-06-01, Repl 2020-06-15
Participants:
Linked BF Score: 8

 Description   

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.



 Comments   
Comment by Pavithra Vetriselvan [ 05/Jun/20 ]

Commit on master: https://github.com/mongodb/mongo/commit/37ff80f6234137fd314d00e2cd1ff77cde90ce11

Generated at Thu Feb 08 05:17:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.