Same opId 35 shows the commands being run as 'aggregate' when insert is being run and as 'renameCollection' when renameCollection is being run. [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "type" : "op", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "host" : "arun:20020", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "desc" : "conn2", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "connectionId" : 2, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "client" : "127.0.0.1:40058", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "appName" : "MongoDB Shell", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "clientMetadata" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "application" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "name" : "MongoDB Shell" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "driver" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "name" : "MongoDB Internal Client", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "version" : "0.0.0" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "os" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.221+0000 [jsTest] "type" : "Linux", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "name" : "Ubuntu", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "architecture" : "x86_64", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "version" : "18.04" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "active" : true, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "currentOpTime" : "2019-06-28T11:55:25.143+0100", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "opid" : 35, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "lsid" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "id" : UUID("978690fe-e40a-49fb-bede-8c27bfa15d0b"), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=") [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "secs_running" : NumberLong(0), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "microsecs_running" : NumberLong(80776), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "op" : "insert", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "ns" : "drop_temp_coll_interruped.tmp.agg_out.2", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "command" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "aggregate" : "source", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] "pipeline" : [ [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.222+0000 [jsTest] { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "$out" : "target" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] ], [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "cursor" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "lsid" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "id" : UUID("978690fe-e40a-49fb-bede-8c27bfa15d0b") [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "$db" : "drop_temp_coll_interruped" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "planSummary" : "COLLSCAN", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "msg" : "hangDuringBatchInsert", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "numYields" : 1, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "locks" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "waitingForLock" : false, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "lockStats" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.223+0000 [jsTest] "ParallelBatchWriterMode" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "r" : NumberLong(2) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "ReplicationStateTransition" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "w" : NumberLong(8) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "Global" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "r" : NumberLong(7), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "w" : NumberLong(1) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "Database" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "r" : NumberLong(7), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.224+0000 [jsTest] "w" : NumberLong(1) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "Collection" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "r" : NumberLong(11), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "W" : NumberLong(1) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "Mutex" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "acquireCount" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "r" : NumberLong(7) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "waitingForFlowControl" : false, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "flowControlStats" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] "acquireCount" : NumberLong(1) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.225+0000 [jsTest] ] [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.365+0000 [jsTest] { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.365+0000 [jsTest] "type" : "op", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.365+0000 [jsTest] "host" : "arun:20020", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.365+0000 [jsTest] "desc" : "conn2", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "connectionId" : 2, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "client" : "127.0.0.1:40058", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "appName" : "MongoDB Shell", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "clientMetadata" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "application" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "name" : "MongoDB Shell" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "driver" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "name" : "MongoDB Internal Client", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "version" : "0.0.0" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "os" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "type" : "Linux", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "name" : "Ubuntu", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "architecture" : "x86_64", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "version" : "18.04" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "active" : true, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.366+0000 [jsTest] "currentOpTime" : "2019-06-28T11:55:25.309+0100", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "opid" : 35, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "lsid" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "id" : UUID("978690fe-e40a-49fb-bede-8c27bfa15d0b"), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=") [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "secs_running" : NumberLong(0), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "microsecs_running" : NumberLong(66276), [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "op" : "command", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "ns" : "admin.$cmd", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "command" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "renameCollection" : "drop_temp_coll_interruped.tmp.agg_out.2", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "to" : "drop_temp_coll_interruped.target", [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "dropTarget" : true, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "$db" : "admin" [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "numYields" : 0, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "locks" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.367+0000 [jsTest] "waitingForLock" : false, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] "lockStats" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] }, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] "waitingForFlowControl" : false, [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] "flowControlStats" : { [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] "acquireCount" : NumberLong(3) [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000 [jsTest] } [js_test:drop_temp_collection_interrupted] 2019-06-28T11:55:25.368+0000