Operational Defect Database

BugZero found this defect 33 days ago.

MongoDB | 2644364

UserWriteBlockModeOpObserver should not take GlobalLock in onCommit handler

Last update date:

4/16/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

This code tries to acquire a GlobalLock in an onCommit handler. This is problematic for multiple reasons: This can throw an exception if the OpCtx is interrupted, which will crash the server This can block indefinitely, which can delay other critical onCommit handlers from running

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...