Operational Defect Database

BugZero found this defect 47 days ago.

MongoDB | 2629715

WiredTigerStats reported in curOp can accumulate from previous operations

Last update date:

4/2/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

We set the storage stats that we want to report in curop here with the assumption that computeOperationStatisticsSinceLastCall() is called at the end of every operation. However, it is possible not to meet these + this conditions resulting in some operations not calling computeOperationStatisticsSinceLastCall(). When we eventually do call the method on a slow op we want to log, _sessionStatsAfterLastOperation can be stale and we end up reporting storage stats that include prior operations.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...