coinbase / mongobetween

Apache License 2.0
107 stars 45 forks source link

Ignore interruptedAtShutdown errors from mongos #25

Closed mdehoog closed 3 years ago

mdehoog commented 3 years ago

We see errors during Atlas maintenance and instance upgrades where the mongos process proxies InterruptedAtShutdown errors from mongod on other hosts, causing that mongos to be marked as unknown (showed in logging introduced in #24).

In the PR we ignore any InterruptedAtShutdown (11600) errors, avoiding passing them to the ErrorProcessor.