Operational Defect Database

BugZero found this defect 27 days ago.

MongoDB | 2649478

$lookup/$graphLookup may leave open some transactions after commit/abort

Last update date:

4/22/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

As part of the design for supporting additional transaction participants we agreed on leaving open transactions that would be reaped eventually. This is currently safe to do since these transactions are essentially read-only and do not affect correctness. However, this means we will unnecessarily hold some locks as part of the transaction that will only be released when we reap the leftover transaction. This also causes artificial delays if we want to perform any resharding/moveChunk operation since those will attempt to acquire with strong locks at one point or another.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...