Also, all acquisitions of the fcvLock must invariant that !opCtx->lockState()->isLocked() before taking the lock, regardless of the mode. This is because the usage expectations around fcvLock is that it will always be taken before global/database/collection locks. This is to avoid deadlocks.
- related to
-
SERVER-33044 Move the fcvLock from being held for the duration of setFCV to only while setting targetVersion
- Closed