Operational Defect Database

BugZero found this defect 72 days ago.

MongoDB | 2602640

`createIndex` may create bucket collection after timeseries is dropped

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

5.0.19

6.0.15

7.0.7

7.3.0-rc5

Fixed releases:

No fixed releases provided.

Description:

Info

createIndex may end up creating an "orphaned" bucket collection (with default empty collection options) when executed concurrently with dropCollection. Create a timeseries collection Create index starts (translates view ns to bucket ns) Drop collection starts Drop collection succeeds Create index continues (timeseries not existing anymore) Create index implicitly creates the bucket collection Create index succeeds Reproducible attached (including diff to apply on ae89abf235 to add a failpoint during create index).

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Backlog

Learn More

Search:

...