Operational Defect Database

BugZero found this defect 19 days ago.

MongoDB | 2658456

Replicated index build can be missing from catalog after unclean shutdown

Last update date:

4/30/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

In the following series of events: Index build starts. It is journaled and written to the oplog. Node is shutdown uncleanly A checkpoint was not taken The node can be left in a state at startup where the index build does not exist on the catalog but exists in the oplog. This can be a problem when a problematic index build is the cause of unclean shutdown as we'll likely end up in a restart loop (node crashes during startup from the index build, restarts, crashes again). We are unable to drop the index build in standalone because it is not reconciled to the catalog. recoverFromOplogAsStandalone=true is also unhelpful in this case as it is a read-only mode and thus unable to drop the index while the problematic index build is in progress.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...