Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
-
Repl 2017-05-08
-
0
Description
Several unit tests call canAcceptWritesForDatabase after attempting to take the global IX lock with a 1 millisecond timeout. If the global lock acquisition failed, then the call to canAcceptWritesForDatabase will trigger an invariant.
I think we should just remove the 1ms lock acquisition timeout and make the test wait unconditionally for the lock.