-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Storage NYC 2018-09-10, Storage NYC 2018-09-24, Storage NYC 2018-10-08
-
39
In the DBLock constructor, we early return if _globalLock was not successfully locked. This early return was added as part of SERVER-32682 to account for deadline running out. However, in cases where deadline is Date_t::max(), we expect _globalLock.isLocked() to be true at this point, since this deadline is unreachable. An invariant should be added that the deadline is not Date_t::max() before early returning in this case.