Data race condition
The value of the shared data will be determined by the interleaving of thread execution. Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
/src/mongo/db/s/resharding/resharding_donor_service.cpp:403: MISSING_LOCK 150216 Accessing "this->this->_coordinatorHasDecisionPersisted" without holding lock "mongo::ReshardingDonorService::DonorStateMachine._mutex". Elsewhere, "mongo::ReshardingDonorService::DonorStateMachine._coordinatorHasDecisionPersisted" is written to with "DonorStateMachine._mutex" held 3 out of 3 times.
- duplicates
-
SERVER-107570 Coverity analysis defect 175458: Data race condition
-
- Closed
-