-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Fully Compatible
-
ALL
-
v6.1, v6.0, v5.0
-
Repl 2022-12-26
-
11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It is possible for a race on _implicitDefaultWriteConcernMajority to occur between the replication coordinator, which is setting the read / write concern settings on start up etc. and the GetDefaultRWConcernCommand command.
We should prevent this race by protecting that variable with a mutex. See my comment for more info.