summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Serra Torrens <jordi.serra-torrens@mongodb.com>2023-02-14 17:02:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-17 10:23:06 +0000
commit5215370322146e1434ae094529d0049d84fe9988 (patch)
tree777cf66427cfd54c47cbeba90f85455a2d9a167c
parent4e4823e6df43a94c516047d0d17931cdf3a28326 (diff)
downloadmongo-5215370322146e1434ae094529d0049d84fe9988.tar.gz
SERVER-73988 Disable the dbVersion check on CheckShardFilteringMetadata test hook
(cherry picked from commit 1c5a450ca3ba76d023d70ad0fea038f5c45236fd)
-rw-r--r--jstests/libs/check_shard_filtering_metadata_helpers.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/libs/check_shard_filtering_metadata_helpers.js b/jstests/libs/check_shard_filtering_metadata_helpers.js
index ca096e3c5fd..970be5e081d 100644
--- a/jstests/libs/check_shard_filtering_metadata_helpers.js
+++ b/jstests/libs/check_shard_filtering_metadata_helpers.js
@@ -87,12 +87,10 @@ var CheckShardFilteringMetadataHelpers = (function() {
const configDB = mongosConn.getDB('config');
// Check shards know correct database versions.
- // Note: We can only check the dbVersion on the primary shards because non-primary shards
- // can have stale dbVersions cached (for versions on which they were not primary.). TODO:
- // Once shards became authoritative for their dbVersions, we can check all shards.
- configDB.databases.find({primary: shardId}).forEach(configDatabasesEntry => {
- checkDatabase(configDatabasesEntry);
- });
+ // TODO: SERVER-73991 Reenable this check.
+ // configDB.databases.find({primary: shardId}).forEach(configDatabasesEntry => {
+ // checkDatabase(configDatabasesEntry);
+ // });
// Check that shards have correct filtering metadata for sharded collections.
if (!skipCheckShardedCollections) {