Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0, v3.6
-
-
Sharding 2019-10-07
-
11
Description
The code that actually does the killing on mongod is here, which ultimately calls ServiceContext->killOperation and OperationContext->interrupt. It looks like this only marks the OpContext to be killed, but doesn't wait for the command to actually finish.
The test is written in a way that assumes that the command is synchronous. Assert.soon in the test will be able to fix this if the command actually should be async.