Operational Defect Database

BugZero found this defect 83 days ago.

MongoDB | 2589794

Fix: The failpoint that generates random migrations in move_unsharded_policy may not find the chunk associated to the collection

Last update date:

3/12/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

The current implementation of the failpoint performs two consecutive calls to the catalog: one to get the unsplittable collections and another to get the chunks. Another thread may remove the collection between the calls, and then the policy does not find the associated chunk

Top User Comments

xgen-internal-githook commented on Tue, 12 Mar 2024 09:38:35 +0000: Author: {'name': 'david-dominguez-sal', 'email': '97509688+david-dominguez-sal@users.noreply.github.com', 'username': 'david-dominguez-sal'} Message: SERVER-87057: Random migration failpoint in move_unsharded_policy retries selection if collection is dropped during the selection process (#19292) GitOrigin-RevId: 40221a628f96d96ab31c38ef80ae7afdac0419a1 Branch: master https://github.com/mongodb/mongo/commit/a3d1d038330e7dc19e86e5e3dad5f1f1d74adc7d

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...