|
SERVER-79046 added a new test to check the oplog application after startup in queryableBackupMode. This test is using a js helper to get a connection to the secondary node after it was restarted, this is wrong because internally we first try to determine a primary, and because we shutdown the node, the primary might relinquish being a primary, causing the getSecondary function call to hang indefinitely waiting for a primary that will never be elected, because when initialized with queryableBackupMode, a node cannot form part of a replica set.
|