Operational Defect Database

BugZero found this defect 33 days ago.

MongoDB | 2643539

Wait for ongoing moveCollection before running after-test checks

Last update date:

4/17/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

If the balancer has been enabled during a test we might still have moveCollection/resharding operations ongoing after the test has finished even if the balancer was properly stopped. This means that the after-test checks may be running concurrently with moveCollection/resharding operations, which can lead to failures due to the expected inconsistencies caused by the ongoing DDL operations. We have already tackled this on a few tickets (like SERVER-88191 and SERVER-86564) but we still see this kind of error on other types of checks. The aim of this ticket is resolve this in a more generic way, like joining all the resharding ongoing operations once the ShardingTest stops and once the ShardedClusterFixture stops the balancer.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Open

Learn More

Search:

...