mirror of https://github.com/mongodb/mongo
SERVER-112067 Skip index consistency check on jstest (#42293)
Co-authored-by: Silvia Surroca <silvia.surroca@mongodb.com> GitOrigin-RevId: 8fa9d45632531065d66787d768a45ca3c189478c
This commit is contained in:
parent
33e29504af
commit
54222f7318
|
|
@ -124,6 +124,11 @@ const nodeOptions = {
|
|||
const numShards = 3;
|
||||
const st = new ShardingTest({shards: numShards, other: {configOptions: nodeOptions}});
|
||||
|
||||
if (!FeatureFlagUtil.isEnabled(st.s.getDB("admin"), "featureFlagDropIndexesDDLCoordinator")) {
|
||||
// Do not check index consistency because a dropIndexes command that times out may leave indexes inconsistent.
|
||||
TestData.skipCheckingIndexesConsistentAcrossCluster = true;
|
||||
}
|
||||
|
||||
const allShards = [];
|
||||
for (let i = 0; i < numShards; i++) {
|
||||
allShards.push(st["shard" + i]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue