Operational Defect Database

BugZero found this defect 20 days ago.

MongoDB | 2657016

chooseRandomMigration can starve draining shards of available desitnation shard

Last update date:

4/29/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Balancer iterates over the list of collections, then picks up candidate chunks to migrage. Everytime a shard is chosen, it gets removed from the list of eligible chunks for this round. So, if the collection that has a chunk that needs to be drained off a shard ends up being iterated last from the list of collections every time, it will never get a chance to get drained, especially in a cluster with small number of shards.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...