Kill an operation
MongoDBMaintenanceCommand
db.killOp(12345)What it does
Terminates the running operation with the specified opid.
When to use it
When a query locks up the system or runs far too long.
Caution
Killing a write operation can leave partial changes; avoid killing system/replication operations.