Value not atomically updated
The result of the update will be determined by the interleaving of thread execution. Non-atomic update of a concurrently shared value
/src/mongo/client/connection_pool.cpp:163: ATOMICITY 176595 Locking "lk".
/src/mongo/client/connection_pool.cpp:146: ATOMICITY 176595 Assigning data that might be protected by the lock to "candidate".
/src/mongo/client/connection_pool.cpp:147: ATOMICITY 176595 Unlocking "lk". "candidate" might now be unreliable because other threads can now change the data that it depends on.
/src/mongo/client/connection_pool.cpp:163: ATOMICITY 176595 Locking "lk" again.
/src/mongo/client/connection_pool.cpp:164: ATOMICITY 176595 Using an unreliable value of "candidate" inside the second locked section. If the data that "candidate" depends on was changed by another thread, this use might be incorrect.
- is related to
-
SERVER-83409 Remove client/connection_pool
-
- Closed
-