summaryrefslogtreecommitdiff
path: root/jstests/hooks/validate_collections.js
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-08-16 15:14:04 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-16 20:22:49 +0000
commit8dc5961aa06a9a8f6e98aefe228f2c837a846786 (patch)
tree553928d3843d787410e49a67eaad07dd3bba9c53 /jstests/hooks/validate_collections.js
parent790a07b121c37c5e1e107926897ebf5c59cfe234 (diff)
downloadmongo-8dc5961aa06a9a8f6e98aefe228f2c837a846786.tar.gz
Revert "SERVER-59058 Enforce fast count validation in ValidateCollections Python hook"
This reverts commit 386f9535a30df093aa74539ae7cee7b504c0b9ce.
Diffstat (limited to 'jstests/hooks/validate_collections.js')
-rw-r--r--jstests/hooks/validate_collections.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/jstests/hooks/validate_collections.js b/jstests/hooks/validate_collections.js
index 1ef1a9a761a..4b8e02bdcae 100644
--- a/jstests/hooks/validate_collections.js
+++ b/jstests/hooks/validate_collections.js
@@ -111,13 +111,7 @@ function CollectionValidator() {
const dbNames = conn.getDBNames();
for (let dbName of dbNames) {
- const validateRes = validatorFunc(conn.getDB(dbName), {
- full: true,
- // TODO (SERVER-24266): Always enforce fast counts, once they are always
- // accurate.
- enforceFastCount:
- !TestData.skipEnforceFastCountOnValidate && !TestData.allowUncleanShutdowns,
- });
+ const validateRes = validatorFunc(conn.getDB(dbName), {full: true});
if (validateRes.ok !== 1) {
return {ok: 0, host: host, validateRes: validateRes};
}