-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Filesystem API
-
Storage Engines
-
3
-
Megabat - 2024-05-14
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
/ext/test/fail_fs/fail_fs.c:244: MISSING_LOCK 138871 Accessing "fail_fs->fail_enabled" without holding lock "FAIL_FILE_SYSTEM.lock". Elsewhere, "FAIL_FILE_SYSTEM.fail_enabled" is written to with "FAIL_FILE_SYSTEM.lock" held 4 out of 4 times.