summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishnu Kaushik <vishnu.kaushik@mongodb.com>2022-02-14 17:13:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-14 20:20:32 +0000
commit4eff3ff60928ae95f01821c2f595fed3318e018f (patch)
tree7b65d2197faecc781e7f965d7e55341488f5bdb2
parente4e2f25c62385a13d8523e81e97bb79dfa196adf (diff)
downloadmongo-4eff3ff60928ae95f01821c2f595fed3318e018f.tar.gz
SERVER-63223 Relax data consistency checker to not check indexes.
-rw-r--r--jstests/hooks/run_cluster_to_cluster_data_consistency.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/jstests/hooks/run_cluster_to_cluster_data_consistency.js b/jstests/hooks/run_cluster_to_cluster_data_consistency.js
index 3c0e66cb14e..5d7d49de9ab 100644
--- a/jstests/hooks/run_cluster_to_cluster_data_consistency.js
+++ b/jstests/hooks/run_cluster_to_cluster_data_consistency.js
@@ -18,13 +18,14 @@ function checkCollection(conn0, conn1, ns, shouldCheckShardKey) {
const coll0 = conn0.getCollection(ns);
const coll1 = conn1.getCollection(ns);
- jsTestLog(`Checking indexes for namespace: ${ns}`);
- const indexes0 = coll0.getIndexes().sort();
- const indexes1 = coll1.getIndexes().sort();
- assert.eq(indexes0,
- indexes1,
- `Indexes were not matching for: ${ns}. indexes0: ${tojson(indexes0)}, indexes1: ${
- tojson(indexes1)}`);
+ // TODO (SERVER-63492): Re-enable checking indexes.
+ // jsTestLog(`Checking indexes for namespace: ${ns}`);
+ // const indexes0 = coll0.getIndexes().sort();
+ // const indexes1 = coll1.getIndexes().sort();
+ // assert.eq(indexes0,
+ // indexes1,
+ // `Indexes were not matching for: ${ns}. indexes0: ${tojson(indexes0)}, indexes1: ${
+ // tojson(indexes1)}`);
// Ensure the shard keys match, if necessary.
if (shouldCheckShardKey) {