-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Dotnet Drivers
-
Not Needed
-
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/MongoDB.Driver/MongoUrl.cs:651: GUARDED_BY_VIOLATION 102903 Accessing "MongoDB.Driver.MongoUrl._cache" without holding lock "MongoDB.Driver.MongoUrl.staticLock". Elsewhere, "MongoDB.Driver.MongoUrl.cache" is written to with "MongoDB.Driver.MongoUrl._staticLock" held 2 out of 3 times.