Operational Defect Database

BugZero found this defect 53 days ago.

MongoDB | 2624311

Ensure resharding metrics object still exists when reporting currentOp info

Last update date:

3/27/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

In each of the 3 resharding state machines, we reset the metrics object they store early (before the state machines themselves are destroyed). If a currentOp request comes in after we've reset the metrics object, but before the state machine itself is destroyed, we'll attempt to access a non-existent obj.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Progress

Learn More

Search:

...