Operational Defect Database

BugZero found this defect 80 days ago.

MongoDB | 2593834

Catalog drop collection command should not translate timeseries namespaces if no timeseries options are present

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

5.0.0

6.0.0

7.0.0

7.3.0-rc0

7.2.0

Fixed releases:

No fixed releases provided.

Description:

Info

As part of the drop collection coordinator, dropCollectionLocally is called on each shard. This command calls the catalog dropCollection command which translates all bucket namespaces to their view namespaces. This is done regardless of whether there are actually any timeseries options present for the collection. This means that if I create a bucket namespace (without timeseries options) and then call drop for the view namespace, it will drop my bucket namespace. This is additionally a problem when we start tracking unsharded collections. In the linked BF, we can see how the translation being done at this level but not at the coordinator level can cause catalog inconsistencies.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...