Operational Defect Database

BugZero found this defect 65 days ago.

MongoDB | 2609817

writeConflictRetry keeps snapshot open while backing off

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Our write conflict backoff logic sleeps before rolling-back the active transaction with abandonSnapshot(). This exists as far back as 4.4 where I checked. This can make write conflicts and cache pressure worse because transactions will stay active, potentially holding resources and are unkillable while they sleep.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...