Operational Defect Database

BugZero found this defect 19 days ago.

MongoDB | 2657529

Do not track unsharded timeseries collection if they can't be moved

Last update date:

4/30/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The ReshardingForTimeseries feature flag controls if timeseries collections can be moved through the moveCollection command. If this feature flag is disabled, we should not track unsharded timeseries collections. In fact if we do so we will end-up in the following situation:  - collection is tracked  - collection can't be moved through moveCollection  - movePrimary won't move the collection In this situation, it will be impossible to complete a removeShard operation of a shard owning the timeseries collection because there is no way to actually move that collection out of that shard.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...