-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Repl 2020-06-29, Repl 2020-07-13
-
0
db_repl_test failed under TSAN. And one reason was because of concurrent writes of _pings in ElapsedTracker. But _pings is an int32_t and it should be harmless except for imprecise counts. So maybe we should fix ElapsedTracker to make it thread-safe, with AtomicWord or mutexes.
ElapsedTracker is not owned by repl. However, more data races could come up in the test once we fix ElapsedTracker. So it is hard to estimate how long it would take to make the test pass.
- depends on
-
SERVER-48687 ReplicationCoordinatorMock is not thread safe and causes errors with tsan
- Closed
- related to
-
SERVER-48964 Potential data race in LockRequest.status
- Closed