summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs/rollback_test_deluxe.js
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-09-30 16:00:29 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-30 21:01:46 +0000
commit96327c826416d360ee8bd6361b36cd5d96fc802d (patch)
tree94a7ef8555f8afa97b968d2b50c963749984a5df /jstests/replsets/libs/rollback_test_deluxe.js
parent1d1dbcdd81a06960856ba48c6cb388235c0e9e29 (diff)
downloadmongo-96327c826416d360ee8bd6361b36cd5d96fc802d.tar.gz
SERVER-59058 Enforce fast count validation in ValidateCollections Python hook
Diffstat (limited to 'jstests/replsets/libs/rollback_test_deluxe.js')
-rw-r--r--jstests/replsets/libs/rollback_test_deluxe.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/replsets/libs/rollback_test_deluxe.js b/jstests/replsets/libs/rollback_test_deluxe.js
index 29f1749b473..2c9382e9908 100644
--- a/jstests/replsets/libs/rollback_test_deluxe.js
+++ b/jstests/replsets/libs/rollback_test_deluxe.js
@@ -225,12 +225,6 @@ function RollbackTestDeluxe(name = "FiveNodeDoubleRollbackTest", replSet) {
});
const name = rst.name;
- // Check collection counts except when unclean shutdowns are allowed, as such a shutdown is
- // not guaranteed to preserve accurate collection counts. This count check must occur before
- // collection validation as the validate command will fix incorrect counts.
- if (!TestData.allowUncleanShutdowns || !TestData.rollbackShutdowns) {
- rst.checkCollectionCounts(name);
- }
rst.checkOplogs(name);
rst.checkReplicatedDataHashes(name);
collectionValidator.validateNodes(rst.nodeList());