jstests/hooks/run_reconfig_background.js
/**
 * Returns true if the error code is transient.
 */
Returns true if the error code is transient.
Returns true if the error code is transient .
function isIgnorableError(codeName) {
    if (codeName === "NotWritablePrimary" || codeName === "InterruptedDueToReplStateChange" ||
        codeName === "PrimarySteppedDown" || codeName === "NodeNotFound" ||
        codeName === "ShutdownInProgress") {
        return true;
    }
    return false;
}
function isIgnorableError ( codeName ) { if ( codeName === "NotWritablePrimary" || codeName === "InterruptedDueToReplStateChange" || codeName === "PrimarySteppedDown" || codeName === "NodeNotFound" || codeName === "ShutdownInProgress" ) { return true ; } return false ; }
Returns true if the error code is transient.
Returns true if the error code is transient .