The DBConfig::setPrimary method does a write under the database cache entry's mutex. It is only used as part of the movePrimary command and is better if it resides there and run outside of the mutex.
- is depended on by
-
SERVER-20854 Don't refresh database and collection information from config server while holding a mutex
- Closed