summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-05-17 15:36:29 -0400
committerJudah Schvimer <judah@mongodb.com>2018-05-17 16:49:11 -0400
commit8b02420bc4eb76344b79b4bf45dbcf0cc6bed584 (patch)
treecf41702a46ee4fcbb9bc6b284d7f117dbb8fbd94
parentb39840f4aa7e20a9f10f858e127ede010f1de73a (diff)
downloadmongo-8b02420bc4eb76344b79b4bf45dbcf0cc6bed584.tar.gz
SERVER-35052 Turn off fastcount checks on capped collections in rollback fuzzer
-rw-r--r--src/mongo/shell/replsettest.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js
index 9e6eb0fd849..e9598ac5241 100644
--- a/src/mongo/shell/replsettest.js
+++ b/src/mongo/shell/replsettest.js
@@ -1928,6 +1928,11 @@ var ReplSetTest = function(opts) {
print("Collection info: " +
tojson(coll.getDB().getCollectionInfos({name: coll.getName()})));
print("Collection stats: " + tojson(coll.stats()));
+ // TODO (SERVER-34977): Remove this block and enable capped collection fastcount
+ // checks.
+ if (coll.isCapped()) {
+ return;
+ }
success = false;
}
}