-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Admin, JavaScript
-
None
-
ALL
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
When a non-Javascript operation is killed with killOp, the killOp proceeds successfully but a spurious warning "received interrupt request for unknown op" is logged at log level 1. This warning is logged by the Javascript interrupt handler, which is called even when the operation does not have any associated Javascript execution scope.
Reproduce by starting mongod with "mongod -v --setParameter enableTestCommands=1", and running the following shell snippet:
startParallelShell("db.adminCommand({sleep: 5});"); sleep(1000); db.killOp(db.currentOp({"query.sleep": 5}).inprog[0].opid);
Example output:
Tue Feb 3 19:48:08.510 [conn3] going to kill op: op: 43.0 Tue Feb 3 19:48:08.510 [conn3] received interrupt request for unknown op: 43
Reproduces on 2.4.12/2.6.7/3.0.0-rc7.