summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2023-04-26 15:08:33 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-26 16:41:37 +0000
commitc7618fa12c6e18512777a85ae6a4b5d647d60957 (patch)
tree34460c67af336ba611bebe17865750b1c2159d8f
parent3a627d3235287168d71baa882acaf93d186fce9d (diff)
downloadmongo-c7618fa12c6e18512777a85ae6a4b5d647d60957.tar.gz
SERVER-76484 Remove no-longer necessary condition on CheckShardFilteringMetadataHelpers
-rw-r--r--jstests/libs/check_shard_filtering_metadata_helpers.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jstests/libs/check_shard_filtering_metadata_helpers.js b/jstests/libs/check_shard_filtering_metadata_helpers.js
index 6393a23bece..96da896e81a 100644
--- a/jstests/libs/check_shard_filtering_metadata_helpers.js
+++ b/jstests/libs/check_shard_filtering_metadata_helpers.js
@@ -75,13 +75,6 @@ var CheckShardFilteringMetadataHelpers = (function() {
return;
}
- if (collectionMetadataOnNode.timestamp === undefined) {
- // Versions earlier than v6.3 did not report the timestamp on shardingState command
- // (SERVER-70790). This early exit can be removed after v6.0 is no longer tested in
- // multiversion suites.
- return;
- }
-
if (timestampCmp(collectionMetadataOnNode.timestamp, Timestamp(0, 0)) === 0) {
// The metadata reflects an unsharded collection. It is okay for a node to have this
// stale metadata, as long as the node knows the correct dbVersion.