Operational Defect Database

BugZero found this defect 16 days ago.

MongoDB | 2661735

CurOp::_fetchStorageStatsIfNecessary may unnecessarily cause an operation to fail

Last update date:

5/3/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0 Required

Description:

Info

As part of normal find command execution we first build up a batch of results and then we proceed to create a client cursor. However, SERVER-84574 made it so the execution of endQueryOp may now throw an error due to an attempt to acquire the global lock which is still held at this point by the caller. This causes the entire execution to fail even if we've already processed everything for the user and are just doing some curop accounting.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...