Operational Defect Database

BugZero found this defect 75 days ago.

MongoDB | 2599351

Fix race in BackgroundSync between making RollbackImpl and shutdown

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

There could be a race between where BackgroundSync::shutdown shuts down RollbackImpl here and where we make it in _runRollbackViaRecoverToCheckpoint here (see BF-32083). Creating the RollbackImpl should also be done while holding the mutex

Top User Comments

xgen-internal-githook commented on Fri, 8 Mar 2024 22:12:49 +0000: Author: {'name': 'huayu-ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'} Message: SERVER-87521 Fix race in BackgroundSync between making RollbackImpl and shutdown (#19765) GitOrigin-RevId: 95234c9b9e72c36d293418de2396b11c1defef94 Branch: master https://github.com/mongodb/mongo/commit/ff397d29428932015ce323b74dfd8db0c67a67e2

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...