-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.1.11
-
Component/s: JavaScript
-
None
-
Fully Compatible
-
v4.2
-
Dev Tools 2019-06-03, Dev Tools 2019-06-17
-
37
For example, when a step down happens, the waitForCondition call will trigger with an assertion of the correct interrupt code. It will then store the interrupt code via the catch block, and at the same time call MozJSImplScope::kill, however, since the opCtx is not registered in the implscope, it will fail this condition and go ahead and set the status to interrupted. Then, it will call check error inside invoke, which will see that the status was set to interrupt and throw the interrupted error.