Operational Defect Database

BugZero found this defect 58 days ago.

MongoDB | 2620691

processReshardingFieldsForRecipientCollection can use stale db info and incorrectly creates a recipient

Last update date:

3/22/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

processReshardingFieldsForRecipientCollection gets called after a shard metadata refresh is completed. It checks if it is a primary shard of the database and creates a resharding recipient if it passes the test. However, having an up to date collection metadata doesn't imply that the sharding database metadata is up to date. So it can end up creating a recipient by mistake.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...