summaryrefslogtreecommitdiff
path: root/jstests/sharding/features3.js
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-02-07 00:03:54 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-12 21:50:40 +0000
commit9bd41ba3d1a6472d94cfc6076f44236f48f8d7a8 (patch)
tree3473192d22278f5ff3ef11912d3c539d4a47d8ff /jstests/sharding/features3.js
parent320b66da2ed0ea95a082560af1ac1fb1800884bb (diff)
downloadmongo-9bd41ba3d1a6472d94cfc6076f44236f48f8d7a8.tar.gz
SERVER-46067 Replicate Before Journaling interface changes
flushAllFiles takes callerHoldsReadLock in order to skip taking a write lock to update the truncate point. waitUntilDurable takes skipJournalListenerUpdate to know to skip updating the truncate point. getToken takes a defer_lock and opCtx so collection locks can be locked prior to locking the mutex. Remove inactive 'async' field from fsync command. Put explicit dummy value for inactive (since MMAP) 'numFiles' result field in fsync command. Put explicit dummy value for inactive (since MMAP) 'fsyncFiles' result field in write concern.
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r--jstests/sharding/features3.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js
index 783a99819a4..6ec52f57015 100644
--- a/jstests/sharding/features3.js
+++ b/jstests/sharding/features3.js
@@ -146,9 +146,6 @@ assert(x.code == 13, "fsync on non-admin succeeded, but should have failed: " +
// test fsync on admin db
x = dbForTest._adminCommand("fsync");
assert(x.ok == 1, "fsync failed: " + tojson(x));
-if (x.all[s.shard0.shardName] > 0) {
- assert(x.numFiles > 0, "fsync failed: " + tojson(x));
-}
// test fsync+lock on admin db
x = dbForTest._adminCommand({"fsync": 1, lock: true});