|
Due to SERVER-70127, system operations are now killable on stepdown by default. This change means that internal operations like _reconfigToRemoveNewlyAddedField() can be interrupted by stepdown (see this code which can throw interruption errors) , potentially resulting in the throwing of InterruptedDueToReplStateChange error code. Unfortunately, _reconfigToRemoveNewlyAddedField don't catch these errors. Additionally, since this internal task runs on the internal thread without error handling, it can cause a server crash.
|