diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-08-08 20:43:41 -0400 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-08-08 20:43:41 -0400 |
commit | ca4d34ece27104dd9bb62f9e46120e83398b71f3 (patch) | |
tree | 449aefb3196379e9c55a57fa4dbcfaa476af8f72 /src/mongo/shell/replsettest.js | |
parent | 0a28a3d8bf39436e02e0325dc5c02f4ef19abd20 (diff) | |
download | mongo-ca4d34ece27104dd9bb62f9e46120e83398b71f3.tar.gz |
SERVER-36265: Expose a $backupCursor aggregation stage.
Diffstat (limited to 'src/mongo/shell/replsettest.js')
-rw-r--r-- | src/mongo/shell/replsettest.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js index a5e7401b723..c4c22a491b9 100644 --- a/src/mongo/shell/replsettest.js +++ b/src/mongo/shell/replsettest.js @@ -1692,8 +1692,10 @@ var ReplSetTest = function(opts) { var activeException = false; // Lock the primary to prevent the TTL monitor from deleting expired documents in - // the background while we are getting the dbhashes of the replica set members. - assert.commandWorked(primary.adminCommand({fsync: 1, lock: 1}), + // the background while we are getting the dbhashes of the replica set members. It's not + // important if the storage engine fails to perform its fsync operation. The only + // requirement is that writes are locked out. + assert.commandWorked(primary.adminCommand({fsync: 1, lock: 1, allowFsyncFailure: true}), 'failed to lock the primary'); try { this.awaitReplication(null, null, slaves); |