summaryrefslogtreecommitdiff
path: root/jstests/sharding/run_restore_unsharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/run_restore_unsharded.js')
-rw-r--r--jstests/sharding/run_restore_unsharded.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/sharding/run_restore_unsharded.js b/jstests/sharding/run_restore_unsharded.js
index 038e79f1dd9..30591a0bbb5 100644
--- a/jstests/sharding/run_restore_unsharded.js
+++ b/jstests/sharding/run_restore_unsharded.js
@@ -11,6 +11,12 @@
load("jstests/libs/feature_flag_util.js");
+// Because we restart nodes in standalone mode, it's possible for fast count, which doesn't
+// discriminate between majority committed data and locally committed data, and the true count,
+// which only includes majority committed data on standalones, to diverge. Therefore skip
+// validating fast count.
+TestData.skipEnforceFastCountOnValidate = true;
+
const s =
new ShardingTest({name: "runRestore", shards: 2, mongos: 1, config: 1, other: {chunkSize: 1}});