-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
Repl 2017-05-08
-
0
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.