SERVER-107610 Fix call to wait for replication in CheckShardFilteringMetadata JS hook (#43187)

GitOrigin-RevId: 80045a0ddfe276664c130588c69f90acdb606666
This commit is contained in:
ppolato 2025-10-27 10:39:49 +01:00 committed by MongoDB Bot
parent a5699f0339
commit e6600aa3c0

View File

@ -41,7 +41,7 @@ try {
}
// Await replication to ensure that metadata on secondary nodes is up-to-date.
new ReplSetTest(shard.nodes[0]).awaitSecondaryNodes();
new ReplSetTest(shard.nodes[0]).awaitReplication();
// Skipping checking sharded collection metadata because any workload on the suite could
// perform an operation that is known to leave incorrect metadata (such as