[js_test:computed_projections] Fixture status: +------------------+----+-----+------+ |full_name |name|port |pid | +------------------+----+-----+------+ |MongoDFixture:job3|j3 |20750|120948| +------------------+----+-----+------+ [js_test:computed_projections] Starting JSTest jstests/core/computed_projections.js... PATH=/data/mci/b2729a9be59057db7abb20d52395fadc/src:/data/multiversion:/data/mci/b2729a9be59057db7abb20d52395fadc/src/dist-test/bin:/data/mci/b2729a9be59057db7abb20d52395fadc/venv/bin:/opt/go/bin:/opt/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/node/bin:/opt/node/bin INSTALL_DIR=/data/mci/b2729a9be59057db7abb20d52395fadc/src/dist-test/bin /data/mci/b2729a9be59057db7abb20d52395fadc/src/dist-test/bin/mongo --eval MongoRunner.dataDir = "/data/db/job3/mongorunner"; MongoRunner.dataPath = "/data/db/job3/mongorunner/"; TestData = new Object(); TestData["minPort"] = 20770; TestData["maxPort"] = 20999; TestData["peerPids"] = [120948]; TestData["alwaysUseLogFiles"] = false; TestData["failIfUnterminatedProcesses"] = true; TestData["isMainTest"] = true; TestData["numTestClients"] = 1; TestData["backupOnRestartDir"] = null; TestData["enableMajorityReadConcern"] = true; TestData["mixedBinVersions"] = ""; TestData["noJournal"] = false; TestData["storageEngine"] = "wiredTiger"; TestData["storageEngineCacheSizeGB"] = "1"; TestData["testName"] = "computed_projections"; TestData["transportLayer"] = ""; TestData["wiredTigerCollectionConfigString"] = ""; TestData["wiredTigerEngineConfigString"] = ""; TestData["wiredTigerIndexConfigString"] = ""; TestData["inEvergreen"] = true; TestData["setParameters"] = new Object(); TestData["setParameters"]["logComponentVerbosity"] = new Object(); TestData["setParameters"]["logComponentVerbosity"]["replication"] = new Object(); TestData["setParameters"]["logComponentVerbosity"]["replication"]["election"] = 4; TestData["setParameters"]["logComponentVerbosity"]["replication"]["heartbeats"] = 2; TestData["setParameters"]["logComponentVerbosity"]["replication"]["initialSync"] = 2; TestData["setParameters"]["logComponentVerbosity"]["replication"]["rollback"] = 2; TestData["setParameters"]["logComponentVerbosity"]["sharding"] = new Object(); TestData["setParameters"]["logComponentVerbosity"]["sharding"]["migration"] = 2; TestData["setParameters"]["logComponentVerbosity"]["storage"] = new Object(); TestData["setParameters"]["logComponentVerbosity"]["storage"]["recovery"] = 2; TestData["setParameters"]["logComponentVerbosity"]["transaction"] = 4; TestData["setParameters"]["logComponentVerbosity"]["tenantMigration"] = 4; TestData["setParameters"]["reshardingMinimumOperationDurationMillis"] = 5000; TestData["setParametersMongos"] = new Object(); TestData["setParametersMongos"]["logComponentVerbosity"] = new Object(); TestData["setParametersMongos"]["logComponentVerbosity"]["transaction"] = 3; TestData["setParametersMongocryptd"] = new Object(); TestData["undoRecorderPath"] = null; TestData["transactionLifetimeLimitSeconds"] = 86400; load("jstests/libs/override_methods/detect_spawning_own_mongod.js");; load('jstests/libs/override_methods/validate_collections_on_shutdown.js');; load('jstests/libs/override_methods/check_uuids_consistent_across_cluster.js');; load('jstests/libs/override_methods/check_indexes_consistent_across_cluster.js');; load('jstests/libs/override_methods/check_orphans_are_deleted.js');; load('jstests/libs/override_methods/implicitly_retry_on_background_op_in_progress.js');; (function() { Timestamp.prototype.toString = function() { throw new Error("Cannot toString timestamps. Consider using timestampCmp() for comparison or tojson() for output."); } })(); --readMode=commands mongodb://localhost:20750 jstests/core/computed_projections.js [js_test:computed_projections] JSTest jstests/core/computed_projections.js started with pid 121220. [j3] {"t":{"$date":"2021-05-11T21:28:47.039+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn1","msg":"Interrupted operation as its client disconnected","attr":{"opId":9}} [j3] {"t":{"$date":"2021-05-11T21:28:47.039+00:00"},"s":"W", "c":"EXECUTOR", "id":4910400, "ctx":"conn2","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.039+00:00"},"s":"I", "c":"NETWORK", "id":5127900, "ctx":"conn2","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.040+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2","msg":"Connection ended","attr":{"remote":"127.0.0.1:50194","uuid":"6d2b3e2d-f100-49bb-b3d3-924d05ac2b33","connectionId":2,"connectionCount":3}} [j3] {"t":{"$date":"2021-05-11T21:28:47.040+00:00"},"s":"W", "c":"EXECUTOR", "id":4910400, "ctx":"conn1","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.040+00:00"},"s":"I", "c":"NETWORK", "id":5127900, "ctx":"conn1","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.040+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1","msg":"Connection ended","attr":{"remote":"127.0.0.1:50192","uuid":"506e888a-2567-4443-987d-af189794f720","connectionId":1,"connectionCount":2}} [j3] {"t":{"$date":"2021-05-11T21:28:47.140+00:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn3","msg":"Interrupted operation as its client disconnected","attr":{"opId":13}} [j3] {"t":{"$date":"2021-05-11T21:28:47.140+00:00"},"s":"W", "c":"EXECUTOR", "id":4910400, "ctx":"conn5","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.141+00:00"},"s":"I", "c":"NETWORK", "id":5127900, "ctx":"conn5","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.141+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn5","msg":"Connection ended","attr":{"remote":"127.0.0.1:50200","uuid":"fbddff6a-3bb7-44e5-8773-abcdf94e4b64","connectionId":5,"connectionCount":1}} [j3] {"t":{"$date":"2021-05-11T21:28:47.141+00:00"},"s":"W", "c":"EXECUTOR", "id":4910400, "ctx":"conn3","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.142+00:00"},"s":"I", "c":"NETWORK", "id":5127900, "ctx":"conn3","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:47.142+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn3","msg":"Connection ended","attr":{"remote":"127.0.0.1:50196","uuid":"d9f3cc86-bf7f-49f3-a521-667a8c5d6027","connectionId":3,"connectionCount":0}} [js_test:computed_projections] MongoDB shell version v5.0.0-alpha0-266-g151efaf-patch-609af42e32f4175bcaf7efd1 [js_test:computed_projections] connecting to: mongodb://localhost:20750/?compressors=disabled&gssapiServiceName=mongodb [j3] {"t":{"$date":"2021-05-11T21:28:47.982+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50216","uuid":"b1371b22-4ff3-47cf-afc9-e6db8d1bf72e","connectionId":6,"connectionCount":1}} [j3] {"t":{"$date":"2021-05-11T21:28:47.983+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"127.0.0.1:50216","client":"conn6","doc":{"application":{"name":"MongoDB Shell","pid":"121220"},"driver":{"name":"MongoDB Internal Client","version":"5.0.0-alpha0-266-g151efaf-patch-609af42e32f4175bcaf7efd1"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"18.04"}}}} [js_test:computed_projections] Implicit session: session { "id" : UUID("77401038-e6b1-4a6e-8f4e-4990c43be441") } [js_test:computed_projections] MongoDB server version: 5.0.0-alpha0-266-g151efaf-patch-609af42e32f4175bcaf7efd1 [j3] {"t":{"$date":"2021-05-11T21:28:48.023+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50220","uuid":"fa7eb45d-34e3-43e3-ad24-d99986286571","connectionId":7,"connectionCount":2}} [j3] {"t":{"$date":"2021-05-11T21:28:48.024+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"127.0.0.1:50220","client":"conn7","doc":{"application":{"name":"MongoDB Shell","pid":"121220"},"driver":{"name":"MongoDB Internal Client","version":"5.0.0-alpha0-266-g151efaf-patch-609af42e32f4175bcaf7efd1"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"18.04"}}}} [js_test:computed_projections] New session started with sessionID: { "id" : UUID("01ef5ea9-5661-4284-87cb-bacfc3d2b16d") } and options: { "causalConsistency" : false } [j3] {"t":{"$date":"2021-05-11T21:28:48.038+00:00"},"s":"W", "c":"CONTROL", "id":23829, "ctx":"conn6","msg":"Set failpoint","attr":{"failPointName":"failOnPoisonedFieldLookup","failPoint":{"mode":1,"data":{},"timesEntered":0}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.039+00:00"},"s":"I", "c":"COMMAND", "id":518070, "ctx":"conn6","msg":"CMD: drop","attr":{"namespace":"test.computed_projection"}} [j3] {"t":{"$date":"2021-05-11T21:28:48.046+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn6","msg":"createCollection","attr":{"namespace":"test.computed_projection","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"1d9561f8-5c3f-4df7-983b-33da586bad59"}},"options":{}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.076+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn6","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.computed_projection","index":"_id_","commitTimestamp":null}} [j3] {"t":{"$date":"2021-05-11T21:28:48.318+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":12,"outputSlotInner":11,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":11,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["abs_s"],"projectSlots":[10],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"abs_s":{"$abs":"$s"}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.324+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903701,"codeName":"Location4903701","errmsg":"can't take $abs of long long min"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":12,"outputSlotInner":11,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":11,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["abs_l"],"projectSlots":[10],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"l\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"abs_l":{"$abs":"$l"}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.452+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":17,"outputSlotInner":16,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":16,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[15],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s14 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[12],[13]],"outputSlots":[14],"inputStages":[{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"false "},"inputStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"! let [l3.0 = let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0))))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"let [l2.0 = s11] exists (l2.0) && ! typeMatch (l2.0, 0x00000440) && l2.0 <=> false != 0 && l2.0 <=> 0 != 0 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"n\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$and":[{"$abs":["$s"]},"$n"]}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.461+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":17,"outputSlotInner":16,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":16,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[15],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s14 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[12],[13]],"outputSlots":[14],"inputStages":[{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"true "},"inputStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"let [l3.0 = let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0))))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"let [l2.0 = s11] exists (l2.0) && ! typeMatch (l2.0, 0x00000440) && l2.0 <=> false != 0 && l2.0 <=> 0 != 0 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$or":[{"$abs":["$s"]},"$s"]}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.469+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4934200,"codeName":"Location4934200","errmsg":"$switch could not find a matching branch for an input, and no default was specified."},"stats":{"stage":"traverse","planNodeId":2,"nReturned":2,"advances":2,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":19,"outputSlotInner":18,"correlatedSlots":[],"outerStage":{"stage":"scan","planNodeId":1,"nReturned":3,"advances":3,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":3,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":2,"advances":2,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":18,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[17],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":2,"advances":2,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"17":"s16 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":2,"advances":2,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":3,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":2,"advances":2,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":2,"advances":2,"opens":3,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[14],[13],[15]],"outputSlots":[16],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":1,"advances":1,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":1,"innerCloses":1,"outerProjects":[5,6],"outerCorrelated":[5,6],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":1,"advances":1,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":1,"numTested":3,"filter":"let [l4.0 = let [l1.0 = s6, l1.1 = 1] fillEmpty (l1.0 <=> l1.1 == 0, exists (l1.0) && typeMatch (l1.0, 0xFFFFFFBF) == exists (l1.1) && typeMatch (l1.1, 0xFFFFFFBF))] exists (l4.0) && ! typeMatch (l4.0, 0x00000440) && l4.0 <=> false != 0 && l4.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":6,"outputSlotInner":6,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":1,"projections":{"5":"getField (s3, \"a\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":1,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"s5 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":3,"advances":3,"opens":3,"closes":2,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"14":"s8 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":7,"outputSlot":8,"outputSlotInner":8,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"7":"getField (s3, \"b\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"s7 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"nlj","planNodeId":2,"nReturned":1,"advances":1,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":1,"innerCloses":1,"outerProjects":[9,10],"outerCorrelated":[9,10],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":1,"advances":1,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"numTested":2,"filter":"let [l3.0 = let [l2.0 = s10, l2.1 = \"y\"] fillEmpty (l2.0 <=> l2.1 == 0, exists (l2.0) && typeMatch (l2.0, 0xFFFFFFBF) == exists (l2.1) && typeMatch (l2.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"inputSlot":9,"outputSlot":10,"outputSlotInner":10,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"projections":{"9":"getField (s3, \"b\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"s9 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":2,"advances":2,"opens":2,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"s12 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":11,"outputSlot":12,"outputSlotInner":12,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"getField (s3, \"a\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"s11 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"fail ( 4934200 ,$switch could not find a matching branch for an input, and no default was specified.) "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{},"projection":{"foo":{"$switch":{"branches":[{"case":{"$eq":["$a",1]},"then":"$b"},{"case":{"$eq":["$b","y"]},"then":"$a"}]}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.478+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":17,"outputSlotInner":16,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":16,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[15],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s14 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[12],[13]],"outputSlots":[14],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"outerProjects":[8,9],"outerCorrelated":[8,9],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"let [l3.0 = let [l2.0 = let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0)))), l2.1 = 0] fillEmpty (l2.0 <=> l2.1 > 0, exists (l2.0) && typeMatch (l2.0, 0xFFFFFFBF) > exists (l2.1) && typeMatch (l2.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"s11 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"n\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"fail ( 4934200 ,$switch could not find a matching branch for an input, and no default was specified.) "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$switch":{"branches":[{"case":{"$gt":[{"$abs":["$s"]},0]},"then":"$n"}]}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.486+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":17,"outputSlotInner":16,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":16,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[15],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s14 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[12],[13]],"outputSlots":[14],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[8,9],"outerCorrelated":[8,9],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"let [l3.0 = let [l1.0 = s9, l1.1 = \"string\"] fillEmpty (l1.0 <=> l1.1 == 0, exists (l1.0) && typeMatch (l1.0, 0xFFFFFFBF) == exists (l1.1) && typeMatch (l1.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"let [l2.0 = s11] if (! exists (l2.0) || typeMatch (l2.0, 0x00000440), null, if (! isNumber (l2.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l2.0, 0x00040000) && l2.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l2.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"fail ( 4934200 ,$switch could not find a matching branch for an input, and no default was specified.) "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$switch":{"branches":[{"case":{"$eq":["$s","string"]},"then":{"$abs":["$s"]}}]}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.495+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":19,"outputSlotInner":18,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":18,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[17],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"17":"s16 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[14],[15]],"outputSlots":[16],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"outerProjects":[8,9],"outerCorrelated":[8,9],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"numTested":1,"filter":"let [l3.0 = let [l1.0 = s9, l1.1 = 0] fillEmpty (l1.0 <=> l1.1 == 0, exists (l1.0) && typeMatch (l1.0, 0xFFFFFFBF) == exists (l1.1) && typeMatch (l1.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"14":"s11 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"n\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"let [l2.0 = s13] if (! exists (l2.0) || typeMatch (l2.0, 0x00000440), null, if (! isNumber (l2.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l2.0, 0x00040000) && l2.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l2.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":12,"outputSlot":13,"outputSlotInner":13,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"s12 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$switch":{"branches":[{"case":{"$eq":["$s",0]},"then":"$n"}],"default":{"$abs":"$s"}}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.504+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":21,"outputSlotInner":20,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":20,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[19],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"19":"s18 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[16],[17]],"outputSlots":[18],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"outerProjects":[8,9,10,11],"outerCorrelated":[8,9,10,11],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"let [l3.0 = let [l2.0 = let [l1.0 = s9] if (! exists (l1.0) || typeMatch (l1.0, 0x00000440), null, if (! isNumber (l1.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l1.0, 0x00040000) && l1.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l1.0)))), l2.1 = s11] fillEmpty (l2.0 <=> l2.1 == 0, exists (l2.0) && typeMatch (l2.0, 0xFFFFFFBF) == exists (l2.1) && typeMatch (l2.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[8,9],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"n\") "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"16":"s13 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":12,"outputSlot":13,"outputSlotInner":13,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"getField (s3, \"b\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"s12 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"17":"s15 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":14,"outputSlot":15,"outputSlotInner":15,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"14":"getField (s3, \"c\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s14 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$cond":{"if":{"$eq":[{"$abs":"$s"},"$n"]},"then":"$b","else":"$c"}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.512+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":19,"outputSlotInner":18,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":18,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[17],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"17":"s16 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[14],[15]],"outputSlots":[16],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[8,9],"outerCorrelated":[8,9],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":1,"filter":"let [l3.0 = let [l1.0 = s9, l1.1 = \"string\"] fillEmpty (l1.0 <=> l1.1 == 0, exists (l1.0) && typeMatch (l1.0, 0xFFFFFFBF) == exists (l1.1) && typeMatch (l1.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"14":"let [l2.0 = s11] if (! exists (l2.0) || typeMatch (l2.0, 0x00000440), null, if (! isNumber (l2.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l2.0, 0x00040000) && l2.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l2.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"s13 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":12,"outputSlot":13,"outputSlotInner":13,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"getField (s3, \"c\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"s12 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$cond":{"if":{"$eq":["$s","string"]},"then":{"$abs":["$s"]},"else":"$c"}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.521+00:00"},"s":"W", "c":"QUERY", "id":23798, "ctx":"conn6","msg":"Plan executor error during find command","attr":{"error":{"code":4903700,"codeName":"Location4903700","errmsg":"$abs only supports numeric types"},"stats":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":3,"outputSlot":19,"outputSlotInner":18,"correlatedSlots":[],"outerStage":{"stage":"filter","planNodeId":1,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numTested":26,"filter":"fillEmpty (s7, false) ","inputStage":{"stage":"traverse","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":5,"outputSlot":7,"outputSlotInner":6,"correlatedSlots":[3,4],"nestedArraysDepth":1,"fold":"s7 || s6 ","final":"s7 ","outerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"5":"getField (s3, \"s\") "},"inputStage":{"stage":"scan","planNodeId":1,"nReturned":26,"advances":26,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"numReads":26,"recordSlot":3,"recordIdSlot":4,"fields":[],"outputSlots":[]}},"innerStage":{"stage":"project","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"6":"! fillEmpty (isNaN (s5), false) && fillEmpty (s5 == \"string\", false) "},"inputStage":{"stage":"limit","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":1,"nReturned":26,"advances":26,"opens":26,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"mkbson","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"objSlot":18,"rootSlot":3,"fieldBehavior":"keep","fields":["_id"],"projectFields":["foo"],"projectSlots":[17],"forceNewObject":true,"returnOldObject":false,"inputStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"17":"s16 "},"inputStage":{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":1,"innerCloses":0,"outerProjects":[],"outerCorrelated":[],"outerStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}},"innerStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"union","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"inputSlots":[[14],[15]],"outputSlots":[16],"inputStages":[{"stage":"nlj","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"outerProjects":[8,9],"outerCorrelated":[8,9],"outerStage":{"stage":"filter","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"numTested":1,"filter":"let [l3.0 = let [l1.0 = s9, l1.1 = \"gnirts\"] fillEmpty (l1.0 <=> l1.1 == 0, exists (l1.0) && typeMatch (l1.0, 0xFFFFFFBF) == exists (l1.1) && typeMatch (l1.1, 0xFFFFFFBF))] exists (l3.0) && ! typeMatch (l3.0, 0x00000440) && l3.0 <=> false != 0 && l3.0 <=> 0 != 0 ","inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"innerOpens":0,"innerCloses":0,"inputSlot":8,"outputSlot":9,"outputSlotInner":9,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"projections":{"8":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":1,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"9":"s8 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":1,"saveState":0,"restoreState":0,"isEOF":0}}}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"14":"s11 "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":10,"outputSlot":11,"outputSlotInner":11,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"10":"getField (s3, \"b\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"11":"s10 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":0,"advances":0,"opens":0,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}},{"stage":"project","planNodeId":2,"nReturned":0,"advances":0,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"15":"let [l2.0 = s13] if (! exists (l2.0) || typeMatch (l2.0, 0x00000440), null, if (! isNumber (l2.0), fail ( 4903700 ,$abs only supports numeric types), if (typeMatch (l2.0, 0x00040000) && l2.0 == -9223372036854775808, fail ( 4903701 ,can't take $abs of long long min), abs (l2.0)))) "},"inputStage":{"stage":"traverse","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"innerOpens":0,"innerCloses":0,"inputSlot":12,"outputSlot":13,"outputSlotInner":13,"correlatedSlots":[],"nestedArraysDepth":1,"outerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"12":"getField (s3, \"s\") "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}},"innerStage":{"stage":"project","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"projections":{"13":"s12 "},"inputStage":{"stage":"limit","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0,"limit":1,"inputStage":{"stage":"coscan","planNodeId":2,"nReturned":1,"advances":1,"opens":1,"closes":0,"saveState":0,"restoreState":0,"isEOF":0}}}}}]}}}}}},"cmd":{"find":"computed_projection","filter":{"s":"string"},"projection":{"foo":{"$cond":{"if":{"$eq":["$s","gnirts"]},"then":"$b","else":{"$abs":["$s"]}}}},"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"$db":"test"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.616+00:00"},"s":"W", "c":"EXECUTOR", "id":4910400, "ctx":"conn7","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.617+00:00"},"s":"I", "c":"NETWORK", "id":5127900, "ctx":"conn7","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}} [j3] {"t":{"$date":"2021-05-11T21:28:48.617+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn7","msg":"Connection ended","attr":{"remote":"127.0.0.1:50220","uuid":"fa7eb45d-34e3-43e3-ad24-d99986286571","connectionId":7,"connectionCount":1}} [j3] ================================================================= [j3] ==120948==ERROR: AddressSanitizer: heap-use-after-free on address 0x6060002fb2f4 at pc 0x7fa517900524 bp 0x7fa4cf0bb540 sp 0x7fa4cf0bb538 [j3] READ of size 4 at 0x6060002fb2f4 thread T37 (conn6) [j3] #0 0x7fa517900523 in mongo::DataType::Handler::unsafeLoad(unsigned int*, char const*, unsigned long*) /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_type.h:70:17 [j3] #1 0x7fa517900523 in void mongo::DataType::unsafeLoad(unsigned int*, char const*, unsigned long*) /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_type.h:153 [j3] #2 0x7fa517900523 in mongo::DataType::Handler, void>::unsafeLoad(mongo::LittleEndian*, char const*, unsigned long*) /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_type_endian.h:90 [j3] #3 0x7fa517900523 in void mongo::DataType::unsafeLoad >(mongo::LittleEndian*, char const*, unsigned long*) /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_type.h:153 [j3] #4 0x7fa517900523 in mongo::ConstDataView const& mongo::ConstDataView::readInto >(mongo::LittleEndian*, long) const /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_view.h:53 [j3] #5 0x7fa50502067c in mongo::LittleEndian mongo::ConstDataView::read >(long) const /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/base/data_view.h:62:9 [j3] #6 0x7fa50502067c in mongo::sbe::value::copyValue(mongo::sbe::value::TypeTags, unsigned long) /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/db/exec/sbe/values/value.h:1068 [j3] #7 0x7fa50333fffe in mongo::sbe::value::OwnedValueAccessor::makeOwned() /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/exec/sbe/values/slot.h:194:32 [j3] #8 0x7fa502d76717 in mongo::sbe::ProjectStage::doSaveState() /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/db/exec/sbe/stages/project.cpp:155:18 [j3] #9 0x7fa504e19495 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:132:16 [j3] #10 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #11 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #12 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #13 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #14 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #15 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #16 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #17 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #18 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #19 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #20 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #21 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #22 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #23 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #24 0x7fa504e195a9 in mongo::sbe::CanChangeState::saveState() /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/exec/sbe/stages/stages.h:137:20 [j3] #25 0x7fa504e61e74 in mongo::PlanYieldPolicySBE::saveState(mongo::OperationContext*) /data/mci/60e523f5a256ca21c1b14b893792fad5/src/src/mongo/db/query/plan_yield_policy_sbe.cpp:37:15 [j3] #26 0x7fa5028a424b in mongo::PlanYieldPolicy::yieldOrInterrupt(mongo::OperationContext*, std::function) /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/query/plan_yield_policy.cpp:96:17 [j3] #27 0x7fa503341dbc in mongo::sbe::CanInterrupt::checkForInterrupt(mongo::OperationContext*) /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/exec/sbe/stages/stages.h:335:13 [j3] #28 0x7fa50336f108 in mongo::sbe::ScanStage::getNext() /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/exec/sbe/stages/scan.cpp:286:5 [j3] #29 0x7fa502e04c50 in mongo::sbe::TraverseStage::getNext() /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/db/exec/sbe/stages/traverse.cpp:147:32 [j3] #30 0x7fa504e15e2e in mongo::fetchNext(mongo::sbe::PlanStage*, mongo::sbe::value::SlotAccessor*, mongo::sbe::value::SlotAccessor*, mongo::BSONObj*, mongo::RecordId*, bool) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:327:24 [j3] #31 0x7fa504e13c1d in mongo::PlanExecutorSBE::getNext(mongo::BSONObj*, mongo::RecordId*) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:235:13 [j3] #32 0x7fa4f110f086 in mongo::(anonymous namespace)::FindCmd::Invocation::run(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/commands/find_cmd.cpp:488:65 [j3] #33 0x7fa4fd164017 in mongo::CommandHelpers::runCommandInvocation(mongo::OperationContext*, mongo::OpMsgRequest const&, mongo::CommandInvocation*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:199:17 [j3] #34 0x7fa4fd16397c in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0::operator()() const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:183:17 [j3] #35 0x7fa4fd16397c in mongo::Future, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&>::type>::type> mongo::makeReadyFutureWith, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0, 0>(mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future.h:1208 [j3] #36 0x7fa4fd161da9 in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:179:20 [j3] #37 0x7fa4f60dcd52 in mongo::(anonymous namespace)::runCommandInvocation(std::shared_ptr, std::shared_ptr) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:150:12 [j3] #38 0x7fa4f60e68c4 in mongo::(anonymous namespace)::InvokeCommand::run()::$_4::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:823:23 [j3] #39 0x7fa4f60e68c4 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::InvokeCommand::run()::$_4&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #40 0x7fa4f60e4481 in mongo::(anonymous namespace)::InvokeCommand::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:816:12 [j3] #41 0x7fa4f60e4481 in auto mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13::operator()(mongo::(anonymous namespace)::InvokeCommand*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1167 [j3] #42 0x7fa4f60e4481 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #43 0x7fa4f60e4481 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'(), 0>(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #44 0x7fa4f60d3cd6 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #45 0x7fa4f60d3cd6 in mongo::(anonymous namespace)::RunCommandImpl::_runCommand() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1166 [j3] #46 0x7fa4f60d3454 in mongo::(anonymous namespace)::RunCommandImpl::_runImpl() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1156:12 [j3] #47 0x7fa4f60f3799 in mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:704:27 [j3] #48 0x7fa4f60f3799 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #49 0x7fa4f60f1437 in mongo::(anonymous namespace)::RunCommandImpl::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:702:16 [j3] #50 0x7fa4f60fdc17 in auto mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const::'lambda0'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1633:51 [j3] #51 0x7fa4f60fdc17 in auto mongo::future_util::AsyncState::thenWithState(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #52 0x7fa4f60fdc17 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #53 0x7fa4f60c8415 in auto mongo::future_util::AsyncState::thenWithState(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #54 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1632 [j3] #55 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1637 [j3] #56 0x7fa4f60bfa5d in mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:599:27 [j3] #57 0x7fa4f60bfa5d in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #58 0x7fa4f60bd930 in mongo::(anonymous namespace)::ExecCommandDatabase::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:597:16 [j3] #59 0x7fa4f60bd930 in auto mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()()::'lambda'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #60 0x7fa4f60bd930 in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #61 0x7fa4f60bd930 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #62 0x7fa4f60bb80e in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #63 0x7fa4f60bb80e in mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #64 0x7fa4f60bb80e in auto mongo::future_details::call)::$_25&>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:255 [j3] #65 0x7fa4f610f021 in auto mongo::future_details::throwingCall)::$_25&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:308:16 [j3] #66 0x7fa4f610f021 in auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)::operator()(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:935 [j3] #67 0x7fa4f610f021 in mongo::future_details::FutureImpl)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)::operator()(mongo::future_details::SharedStateBase*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:1257 [j3] #68 0x7fa4f610f021 in void mongo::unique_function::callRegularVoid)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)>(std::integral_constant, mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::SharedStateBase*&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/functional.h:145 [j3] #69 0x7fa516a7388e in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/functional.h:109:22 [j3] #70 0x7fa516a73057 in mongo::future_details::SharedStateBase::transitionToFinished() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future_impl.h:441:13 [j3] #71 0x7fa5142f09d5 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)::operator()(mongo::future_details::FakeVoid&&) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1146:36 [j3] #72 0x7fa5142f09d5 in auto mongo::future_details::FutureImpl::generalImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()>(mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1184 [j3] #73 0x7fa5142f0725 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) && /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1144:9 [j3] #74 0x7fa5142f0725 in void mongo::SemiFuture::propagateResultTo*&>(mongo::future_details::SharedStateImpl*&) && /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future.h:285 [j3] #75 0x7fa4f60baa11 in auto mongo::future_details::FutureImpl::then)::$_24>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)::operator()(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:935:73 [j3] #76 0x7fa4f60baa11 in mongo::future_details::FutureImpl)::$_24> mongo::future_details::FutureImpl::makeContinuation::then)::$_24>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_24>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)::operator()(mongo::future_details::SharedStateBase*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:1257 [j3] #77 0x7fa4f60baa11 in void mongo::unique_function::callRegularVoid)::$_24> mongo::future_details::FutureImpl::makeContinuation::then)::$_24>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_24>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)>(std::integral_constant, mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_24&, mongo::future_details::SharedStateBase*&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/functional.h:145 [j3] #78 0x7fa516a7388e in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/functional.h:109:22 [j3] #79 0x7fa516a73057 in mongo::future_details::SharedStateBase::transitionToFinished() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future_impl.h:441:13 [j3] #80 0x7fa5142dfae9 in void mongo::Promise::emplaceValue<0>()::'lambda'(boost::intrusive_ptr >&&)::operator()(boost::intrusive_ptr >&&) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future.h:854:26 [j3] #81 0x7fa5142dfae9 in void mongo::Promise::setImpl::emplaceValue<0>()::'lambda'(boost::intrusive_ptr >&&)>(void mongo::Promise::emplaceValue<0>()::'lambda'(boost::intrusive_ptr >&&)&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future.h:895 [j3] #82 0x7fa4f60b6729 in void mongo::Promise::emplaceValue<0>() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:853:9 [j3] #83 0x7fa4f60b6729 in mongo::(anonymous namespace)::executeCommand(std::shared_ptr) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1867 [j3] #84 0x7fa4f60b40b6 in mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27::operator()() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1914:48 [j3] #85 0x7fa4f60b40b6 in auto mongo::future_details::call)::$_27&>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&, mongo::future_details::FakeVoid) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:255 [j3] #86 0x7fa4f60b40b6 in auto mongo::future_details::throwingCall)::$_27&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&, mongo::future_details::FakeVoid&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:308 [j3] #87 0x7fa4f60b40b6 in auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'(mongo::future_details::FakeVoid&&)::operator()(mongo::future_details::FakeVoid&&) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:917 [j3] #88 0x7fa4f60b0651 in auto mongo::future_details::FutureImpl::generalImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'(mongo::future_details::FakeVoid&&), auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'(mongo::Status&&), auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'()>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&, auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'(mongo::Status&&)&&, auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) &&::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:1184:20 [j3] #89 0x7fa4f60b0651 in auto mongo::future_details::FutureImpl::then)::$_27>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:913 [j3] #90 0x7fa4f60b0651 in auto mongo::Future::then)::$_27, 0>(mongo::(anonymous namespace)::receivedCommands(std::shared_ptr)::$_27&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:405 [j3] #91 0x7fa4f60b0651 in mongo::(anonymous namespace)::receivedCommands(std::shared_ptr) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1914 [j3] #92 0x7fa4f60b0214 in mongo::(anonymous namespace)::CommandOpRunner::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:2159:16 [j3] #93 0x7fa4f60a7287 in mongo::ServiceEntryPointCommon::handleRequest(mongo::OperationContext*, mongo::Message const&, std::unique_ptr >) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:2403:22 [j3] #94 0x7fa507b7de1a in mongo::ServiceEntryPointMongod::handleRequest(mongo::OperationContext*, mongo::Message const&) /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/service_entry_point_mongod.cpp:257:12 [j3] #95 0x7fa507aa840b in mongo::transport::ServiceStateMachine::Impl::processMessage() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:466:18 [j3] #96 0x7fa507ab7ba2 in mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9::operator()() const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:559:33 [j3] #97 0x7fa507ab7ba2 in auto mongo::future_details::call(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&, mongo::future_details::FakeVoid) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:255 [j3] #98 0x7fa507ab7ba2 in auto mongo::future_details::throwingCall(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&, mongo::future_details::FakeVoid&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:308 [j3] #99 0x7fa507ab7ba2 in auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'(mongo::future_details::FakeVoid&&)::operator()(mongo::future_details::FakeVoid&&) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:917 [j3] #100 0x7fa507aa9e4a in auto mongo::future_details::FutureImpl::generalImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'(mongo::future_details::FakeVoid&&), auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'(mongo::Status&&), auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'()>(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&, auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'(mongo::Status&&)&&, auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) &&::'lambda'()&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1184:20 [j3] #101 0x7fa507aa9e4a in auto mongo::future_details::FutureImpl::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) && /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:913 [j3] #102 0x7fa507aa9e4a in auto mongo::Future::then(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_9&&) && /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future.h:405 [j3] #103 0x7fa507aa9e4a in mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:559 [j3] #104 0x7fa507abe95d in mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_11::operator()(mongo::Status) const::'lambda'(mongo::Status)::operator()(mongo::Status) const::'lambda'()::operator()() const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:588:42 [j3] #105 0x7fa507abe95d in void mongo::ClientStrand::run(mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_11::operator()(mongo::Status) const::'lambda'(mongo::Status)::operator()(mongo::Status) const::'lambda'()) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/db/client_strand.h:165 [j3] #106 0x7fa507abe95d in mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_11::operator()(mongo::Status) const::'lambda'(mongo::Status)::operator()(mongo::Status) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:588 [j3] #107 0x7fa507abe95d in void mongo::unique_function::callRegularVoid(std::integral_constant, mongo::transport::ServiceStateMachine::Impl::startNewLoop(mongo::Status const&)::$_11::operator()(mongo::Status) const::'lambda'(mongo::Status)&, mongo::Status&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/functional.h:145 [j3] #108 0x7fa4fd3f30f7 in mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::shared_ptr const&, mongo::unique_function)::$_5::operator()(mongo::Status) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_synchronous.cpp:163:64 [j3] #109 0x7fa4fd3f30f7 in void mongo::unique_function::callRegularVoid const&, mongo::unique_function)::$_5>(std::integral_constant, mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::shared_ptr const&, mongo::unique_function)::$_5&, mongo::Status&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/functional.h:145 [j3] #110 0x7fa4fd3d62bc in mongo::transport::ServiceExecutor::schedule(mongo::unique_function)::'lambda'()::operator()() /data/mci/88f31a3159605db440d1b981cf9c5362/src/src/mongo/transport/service_executor.h:111:9 [j3] #111 0x7fa4fd3d62bc in void mongo::unique_function::callRegularVoid)::'lambda'()>(std::integral_constant, mongo::transport::ServiceExecutor::schedule(mongo::unique_function)::'lambda'()&) /data/mci/88f31a3159605db440d1b981cf9c5362/src/src/mongo/util/functional.h:145 [j3] #112 0x7fa4fd3d62bc in auto mongo::unique_function::makeImpl)::'lambda'()>(mongo::transport::ServiceExecutor::schedule(mongo::unique_function)::'lambda'()&&)::SpecificImpl::call() /data/mci/88f31a3159605db440d1b981cf9c5362/src/src/mongo/util/functional.h:159 [j3] #113 0x7fa4fd3f27ed in mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4::operator()() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_synchronous.cpp:131:17 [j3] #114 0x7fa4fd3f27ed in void mongo::unique_function::callRegularVoid, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4>(std::integral_constant, mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function, mongo::transport::ServiceExecutor::ScheduleFlags)::$_4&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/functional.h:145 [j3] #115 0x7fa4fd3f8896 in mongo::launchServiceWorkerThread(mongo::unique_function)::$_6::operator()() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_utils.cpp:111:13 [j3] #116 0x7fa4fd3f8896 in void mongo::unique_function::callRegularVoid)::$_6>(std::integral_constant, mongo::launchServiceWorkerThread(mongo::unique_function)::$_6&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/functional.h:145 [j3] #117 0x7fa4fd3f6e14 in mongo::(anonymous namespace)::runFunc(void*) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_utils.cpp:64:5 [j3] #118 0x7fa514ffc6da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da) [j3] #119 0x7fa51553d71e in clone /build/glibc-S9d2JN/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95 [j3] [j3] 0x6060002fb2f4 is located 20 bytes inside of 49-byte region [0x6060002fb2e0,0x6060002fb311) [j3] freed by thread T37 (conn6) here: [j3] #0 0x557f8c79ef42 in realloc /data/mci/2b29d50424b17e9bd64c23288b01e972/toolchain-builder/tmp/build-llvm.sh-h2X/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:165:3 [j3] #1 0x7fa4ed8d5555 in __realloc_func /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/os_common/os_alloc.c:122:14 [j3] #2 0x7fa4eda2a5fd in __wt_buf_grow_worker /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/support/scratch.c:47:13 [j3] #3 0x7fa4ed792eb3 in __wt_buf_grow /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/include/buf_inline.h:17:54 [j3] #4 0x7fa4ed792eb3 in __wt_cursor_get_valuev /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/cursor/cur_std.c:531 [j3] #5 0x7fa4ed792674 in __wt_cursor_get_value /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/cursor/cur_std.c:507:11 [j3] #6 0x7fa4f4b2d952 in mongo::WiredTigerRecordStoreCursorBase::next() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:2047:5 [j3] #7 0x7fa50336f4d0 in mongo::sbe::ScanStage::getNext() /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/exec/sbe/stages/scan.cpp:289:65 [j3] #8 0x7fa502e04c50 in mongo::sbe::TraverseStage::getNext() /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/db/exec/sbe/stages/traverse.cpp:147:32 [j3] #9 0x7fa504e15e2e in mongo::fetchNext(mongo::sbe::PlanStage*, mongo::sbe::value::SlotAccessor*, mongo::sbe::value::SlotAccessor*, mongo::BSONObj*, mongo::RecordId*, bool) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:327:24 [j3] #10 0x7fa504e13c1d in mongo::PlanExecutorSBE::getNext(mongo::BSONObj*, mongo::RecordId*) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:235:13 [j3] #11 0x7fa4f110f086 in mongo::(anonymous namespace)::FindCmd::Invocation::run(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/commands/find_cmd.cpp:488:65 [j3] #12 0x7fa4fd164017 in mongo::CommandHelpers::runCommandInvocation(mongo::OperationContext*, mongo::OpMsgRequest const&, mongo::CommandInvocation*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:199:17 [j3] #13 0x7fa4fd16397c in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0::operator()() const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:183:17 [j3] #14 0x7fa4fd16397c in mongo::Future, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&>::type>::type> mongo::makeReadyFutureWith, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0, 0>(mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future.h:1208 [j3] #15 0x7fa4fd161da9 in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:179:20 [j3] #16 0x7fa4f60dcd52 in mongo::(anonymous namespace)::runCommandInvocation(std::shared_ptr, std::shared_ptr) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:150:12 [j3] #17 0x7fa4f60e68c4 in mongo::(anonymous namespace)::InvokeCommand::run()::$_4::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:823:23 [j3] #18 0x7fa4f60e68c4 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::InvokeCommand::run()::$_4&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #19 0x7fa4f60e4481 in mongo::(anonymous namespace)::InvokeCommand::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:816:12 [j3] #20 0x7fa4f60e4481 in auto mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13::operator()(mongo::(anonymous namespace)::InvokeCommand*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1167 [j3] #21 0x7fa4f60e4481 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #22 0x7fa4f60e4481 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'(), 0>(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #23 0x7fa4f60d3cd6 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #24 0x7fa4f60d3cd6 in mongo::(anonymous namespace)::RunCommandImpl::_runCommand() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1166 [j3] #25 0x7fa4f60d3454 in mongo::(anonymous namespace)::RunCommandImpl::_runImpl() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1156:12 [j3] #26 0x7fa4f60f3799 in mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:704:27 [j3] #27 0x7fa4f60f3799 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #28 0x7fa4f60f1437 in mongo::(anonymous namespace)::RunCommandImpl::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:702:16 [j3] #29 0x7fa4f60fdc17 in auto mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const::'lambda0'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1633:51 [j3] #30 0x7fa4f60fdc17 in auto mongo::future_util::AsyncState::thenWithState(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #31 0x7fa4f60fdc17 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #32 0x7fa4f60c8415 in auto mongo::future_util::AsyncState::thenWithState(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #33 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1632 [j3] #34 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1637 [j3] #35 0x7fa4f60bfa5d in mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:599:27 [j3] #36 0x7fa4f60bfa5d in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #37 0x7fa4f60bd930 in mongo::(anonymous namespace)::ExecCommandDatabase::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:597:16 [j3] #38 0x7fa4f60bd930 in auto mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()()::'lambda'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #39 0x7fa4f60bd930 in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #40 0x7fa4f60bd930 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #41 0x7fa4f60bb80e in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #42 0x7fa4f60bb80e in mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #43 0x7fa4f60bb80e in auto mongo::future_details::call)::$_25&>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:255 [j3] #44 0x7fa4f610f021 in auto mongo::future_details::throwingCall)::$_25&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:308:16 [j3] #45 0x7fa4f610f021 in auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)::operator()(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:935 [j3] #46 0x7fa4f610f021 in mongo::future_details::FutureImpl)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)::operator()(mongo::future_details::SharedStateBase*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:1257 [j3] #47 0x7fa4f610f021 in void mongo::unique_function::callRegularVoid)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)>(std::integral_constant, mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::SharedStateBase*&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/functional.h:145 [j3] #48 0x7fa516a7388e in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/functional.h:109:22 [j3] #49 0x7fa516a73057 in mongo::future_details::SharedStateBase::transitionToFinished() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future_impl.h:441:13 [j3] #50 0x7fa5142f09d5 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)::operator()(mongo::future_details::FakeVoid&&) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1146:36 [j3] #51 0x7fa5142f09d5 in auto mongo::future_details::FutureImpl::generalImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()>(mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1184 [j3] [j3] previously allocated by thread T37 (conn6) here: [j3] #0 0x557f8c79ef42 in realloc /data/mci/2b29d50424b17e9bd64c23288b01e972/toolchain-builder/tmp/build-llvm.sh-h2X/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:165:3 [j3] #1 0x7fa4ed8d5555 in __realloc_func /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/os_common/os_alloc.c:122:14 [j3] #2 0x7fa4eda2a5fd in __wt_buf_grow_worker /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/support/scratch.c:47:13 [j3] #3 0x7fa4ed792eb3 in __wt_buf_grow /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/include/buf_inline.h:17:54 [j3] #4 0x7fa4ed792eb3 in __wt_cursor_get_valuev /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/cursor/cur_std.c:531 [j3] #5 0x7fa4ed792674 in __wt_cursor_get_value /data/mci/0e73d9c4e4620df930eabbe5c4084ea3/src/src/third_party/wiredtiger/src/cursor/cur_std.c:507:11 [j3] #6 0x7fa4f4b2d952 in mongo::WiredTigerRecordStoreCursorBase::next() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:2047:5 [j3] #7 0x7fa50336f4d0 in mongo::sbe::ScanStage::getNext() /data/mci/72ab04a1a9ea0fb5cd8990198a70f1c8/src/src/mongo/db/exec/sbe/stages/scan.cpp:289:65 [j3] #8 0x7fa502e04c50 in mongo::sbe::TraverseStage::getNext() /data/mci/5b39450893c745aa14863a3d17537c10/src/src/mongo/db/exec/sbe/stages/traverse.cpp:147:32 [j3] #9 0x7fa504e15e2e in mongo::fetchNext(mongo::sbe::PlanStage*, mongo::sbe::value::SlotAccessor*, mongo::sbe::value::SlotAccessor*, mongo::BSONObj*, mongo::RecordId*, bool) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:327:24 [j3] #10 0x7fa504e13c1d in mongo::PlanExecutorSBE::getNext(mongo::BSONObj*, mongo::RecordId*) /data/mci/801c90706300d15577b3a7cfdb920ef2/src/src/mongo/db/query/plan_executor_sbe.cpp:235:13 [j3] #11 0x7fa4f110f086 in mongo::(anonymous namespace)::FindCmd::Invocation::run(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/commands/find_cmd.cpp:488:65 [j3] #12 0x7fa4fd164017 in mongo::CommandHelpers::runCommandInvocation(mongo::OperationContext*, mongo::OpMsgRequest const&, mongo::CommandInvocation*, mongo::rpc::ReplyBuilderInterface*) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:199:17 [j3] #13 0x7fa4fd16397c in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0::operator()() const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:183:17 [j3] #14 0x7fa4fd16397c in mongo::Future, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&>::type>::type> mongo::makeReadyFutureWith, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0, 0>(mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel)::$_0&&) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future.h:1208 [j3] #15 0x7fa4fd161da9 in mongo::CommandHelpers::runCommandInvocation(std::shared_ptr, std::shared_ptr, mongo::transport::ServiceExecutor::ThreadingModel) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/commands.cpp:179:20 [j3] #16 0x7fa4f60dcd52 in mongo::(anonymous namespace)::runCommandInvocation(std::shared_ptr, std::shared_ptr) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:150:12 [j3] #17 0x7fa4f60e68c4 in mongo::(anonymous namespace)::InvokeCommand::run()::$_4::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:823:23 [j3] #18 0x7fa4f60e68c4 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::InvokeCommand::run()::$_4&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #19 0x7fa4f60e4481 in mongo::(anonymous namespace)::InvokeCommand::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:816:12 [j3] #20 0x7fa4f60e4481 in auto mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13::operator()(mongo::(anonymous namespace)::InvokeCommand*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1167 [j3] #21 0x7fa4f60e4481 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #22 0x7fa4f60e4481 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) &&::'lambda'(), 0>(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #23 0x7fa4f60d3cd6 in auto mongo::future_util::AsyncState::thenWithState(mongo::(anonymous namespace)::RunCommandImpl::_runCommand()::$_13&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #24 0x7fa4f60d3cd6 in mongo::(anonymous namespace)::RunCommandImpl::_runCommand() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1166 [j3] #25 0x7fa4f60d3454 in mongo::(anonymous namespace)::RunCommandImpl::_runImpl() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1156:12 [j3] #26 0x7fa4f60f3799 in mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:704:27 [j3] #27 0x7fa4f60f3799 in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::RunCommandImpl::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #28 0x7fa4f60f1437 in mongo::(anonymous namespace)::RunCommandImpl::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:702:16 [j3] #29 0x7fa4f60fdc17 in auto mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const::'lambda0'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1633:51 [j3] #30 0x7fa4f60fdc17 in auto mongo::future_util::AsyncState::thenWithState(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #31 0x7fa4f60fdc17 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #32 0x7fa4f60c8415 in auto mongo::future_util::AsyncState::thenWithState(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #33 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()::$_18::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1632 [j3] #34 0x7fa4f60c8415 in mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1637 [j3] #35 0x7fa4f60bfa5d in mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:599:27 [j3] #36 0x7fa4f60bfa5d in mongo::Future::type>::type> mongo::makeReadyFutureWith(mongo::(anonymous namespace)::ExecCommandDatabase::run()::'lambda'()&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #37 0x7fa4f60bd930 in mongo::(anonymous namespace)::ExecCommandDatabase::run() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:597:16 [j3] #38 0x7fa4f60bd930 in auto mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()()::'lambda'(auto*)::operator()(auto*) const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #39 0x7fa4f60bd930 in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'()::operator()() const /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:742 [j3] #40 0x7fa4f60bd930 in mongo::Future::type>::type> mongo::makeReadyFutureWith::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) &&::'lambda'(), 0>(auto&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future.h:1211 [j3] #41 0x7fa4f60bb80e in auto mongo::future_util::AsyncState::thenWithState)::$_25::operator()()::'lambda'(auto*)>(auto&&) && /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_util.h:741:16 [j3] #42 0x7fa4f60bb80e in mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25::operator()() /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/db/service_entry_point_common.cpp:1855 [j3] #43 0x7fa4f60bb80e in auto mongo::future_details::call)::$_25&>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:255 [j3] #44 0x7fa4f610f021 in auto mongo::future_details::throwingCall)::$_25&, mongo::future_details::FakeVoid>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::FakeVoid&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:308:16 [j3] #45 0x7fa4f610f021 in auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)::operator()(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:935 [j3] #46 0x7fa4f610f021 in mongo::future_details::FutureImpl)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)::operator()(mongo::future_details::SharedStateBase*) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/future_impl.h:1257 [j3] #47 0x7fa4f610f021 in void mongo::unique_function::callRegularVoid)::$_25> mongo::future_details::FutureImpl::makeContinuation::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)>(auto mongo::future_details::FutureImpl::then)::$_25>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&&) &&::'lambda'()::operator()() const::'lambda'(mongo::future_details::SharedStateImpl*, mongo::future_details::SharedStateImpl*)&&)::'lambda'(mongo::future_details::SharedStateBase*)>(std::integral_constant, mongo::(anonymous namespace)::executeCommand(std::shared_ptr)::$_25&, mongo::future_details::SharedStateBase*&&) /data/mci/9fee13b921126e12f300e95b373e3377/src/src/mongo/util/functional.h:145 [j3] #48 0x7fa516a7388e in mongo::unique_function::operator()(mongo::future_details::SharedStateBase*) const /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/functional.h:109:22 [j3] #49 0x7fa516a73057 in mongo::future_details::SharedStateBase::transitionToFinished() /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/util/future_impl.h:441:13 [j3] #50 0x7fa5142f09d5 in mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)::operator()(mongo::future_details::FakeVoid&&) const /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1146:36 [j3] #51 0x7fa5142f09d5 in auto mongo::future_details::FutureImpl::generalImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&), mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()>(mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::future_details::FakeVoid&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'(mongo::Status&&)&&, mongo::future_details::FutureImpl::propagateResultTo(mongo::future_details::SharedStateImpl*) &&::'lambda'()&&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/util/future_impl.h:1184 [j3] [j3] Thread T37 (conn6) created by T31 (listener) here: [j3] #0 0x557f8c78743d in pthread_create /data/mci/2b29d50424b17e9bd64c23288b01e972/toolchain-builder/tmp/build-llvm.sh-h2X/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:210:3 [j3] #1 0x7fa4fd3f5876 in mongo::launchServiceWorkerThread(mongo::unique_function) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_utils.cpp:118:22 [j3] #2 0x7fa4fd3f01bd in mongo::transport::ServiceExecutorSynchronous::scheduleTask(mongo::unique_function, mongo::transport::ServiceExecutor::ScheduleFlags) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_synchronous.cpp:124:21 [j3] #3 0x7fa4fd3d554e in mongo::transport::ServiceExecutor::schedule(mongo::unique_function) /data/mci/88f31a3159605db440d1b981cf9c5362/src/src/mongo/transport/service_executor.h:111:9 [j3] #4 0x7fa4fd3f0f3b in mongo::transport::ServiceExecutorSynchronous::runOnDataAvailable(std::shared_ptr const&, mongo::unique_function) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_executor_synchronous.cpp:163:5 [j3] #5 0x7fa507aa9918 in mongo::transport::ServiceStateMachine::Impl::start(mongo::transport::ServiceExecutorContext) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:543:17 [j3] #6 0x7fa507aaf3d2 in mongo::transport::ServiceStateMachine::start(mongo::transport::ServiceExecutorContext) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_state_machine.cpp:691:12 [j3] #7 0x7fa507a81f61 in mongo::ServiceEntryPointImpl::startSession(std::shared_ptr) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/service_entry_point_impl.cpp:228:12 [j3] #8 0x7fa5142a1861 in mongo::transport::TransportLayerASIO::_acceptConnection(asio::basic_socket_acceptor&)::$_24::operator()(std::error_code const&, asio::basic_stream_socket) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/transport_layer_asio.cpp:1210:19 [j3] #9 0x7fa5142a0e5e in asio::detail::move_binder2&)::$_24, std::error_code, asio::basic_stream_socket >::operator()() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/third_party/asio-master/asio/include/asio/detail/bind_handler.hpp:665:5 [j3] #10 0x7fa5142a0e5e in void asio::asio_handler_invoke&)::$_24, std::error_code, asio::basic_stream_socket > >(asio::detail::move_binder2&)::$_24, std::error_code, asio::basic_stream_socket >&, ...) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/third_party/asio-master/asio/include/asio/handler_invoke_hook.hpp:68 [j3] #11 0x7fa5142a0e5e in void asio_handler_invoke_helpers::invoke&)::$_24, std::error_code, asio::basic_stream_socket >, mongo::transport::TransportLayerASIO::_acceptConnection(asio::basic_socket_acceptor&)::$_24>(asio::detail::move_binder2&)::$_24, std::error_code, asio::basic_stream_socket >&, mongo::transport::TransportLayerASIO::_acceptConnection(asio::basic_socket_acceptor&)::$_24&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/third_party/asio-master/asio/include/asio/detail/handler_invoke_helpers.hpp:37 [j3] #12 0x7fa5142a0e5e in void asio::detail::handler_work&)::$_24, asio::system_executor>::complete&)::$_24, std::error_code, asio::basic_stream_socket > >(asio::detail::move_binder2&)::$_24, std::error_code, asio::basic_stream_socket >&, mongo::transport::TransportLayerASIO::_acceptConnection(asio::basic_socket_acceptor&)::$_24&) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/third_party/asio-master/asio/include/asio/detail/handler_work.hpp:81 [j3] #13 0x7fa5142a0e5e in asio::detail::reactive_socket_move_accept_op&)::$_24>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long) /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/third_party/asio-master/asio/include/asio/detail/reactive_socket_accept_op.hpp:201 [j3] #14 0x7fa4f824c6ef in asio::detail::scheduler_operation::complete(void*, std::error_code const&, unsigned long) /data/mci/e9c3a49dd52e3eed68a234d92bf1c952/src/src/third_party/asio-master/asio/include/asio/detail/scheduler_operation.hpp:39:5 [j3] #15 0x7fa4f824c6ef in asio::detail::scheduler::do_run_one(asio::detail::conditionally_enabled_mutex::scoped_lock&, asio::detail::scheduler_thread_info&, std::error_code const&) /data/mci/e9c3a49dd52e3eed68a234d92bf1c952/src/src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:400 [j3] #16 0x7fa4f8243175 in asio::detail::scheduler::run(std::error_code&) /data/mci/e9c3a49dd52e3eed68a234d92bf1c952/src/src/third_party/asio-master/asio/include/asio/detail/impl/scheduler.ipp:153:10 [j3] #17 0x7fa4f8242fd2 in asio::io_context::run() /data/mci/e9c3a49dd52e3eed68a234d92bf1c952/src/src/third_party/asio-master/asio/include/asio/impl/io_context.ipp:61:24 [j3] #18 0x7fa5142ab4f6 in mongo::transport::TransportLayerASIO::ASIOReactor::run() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/transport_layer_asio.cpp:187:20 [j3] #19 0x7fa514286c8f in mongo::transport::TransportLayerASIO::_runListener() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/transport_layer_asio.cpp:1097:27 [j3] #20 0x7fa5142a0a84 in std::__invoke_result::type std::__invoke(mongo::transport::TransportLayerASIO::start()::$_21&&) /opt/mongodbtoolchain/revisions/32eb70c47bd9e9759dd05654843feb80461aaef3/stow/gcc-v3.pgi/lib/gcc/x86_64-mongodb-linux/8.3.0/../../../../include/c++/8.3.0/bits/invoke.h:95:14 [j3] #21 0x7fa5142a0a84 in decltype(auto) std::__apply_impl >(mongo::transport::TransportLayerASIO::start()::$_21&&, std::tuple<>&&, std::integer_sequence) /opt/mongodbtoolchain/revisions/32eb70c47bd9e9759dd05654843feb80461aaef3/stow/gcc-v3.pgi/lib/gcc/x86_64-mongodb-linux/8.3.0/../../../../include/c++/8.3.0/tuple:1678 [j3] #22 0x7fa5142a0a84 in decltype(auto) std::apply >(mongo::transport::TransportLayerASIO::start()::$_21&&, std::tuple<>&&) /opt/mongodbtoolchain/revisions/32eb70c47bd9e9759dd05654843feb80461aaef3/stow/gcc-v3.pgi/lib/gcc/x86_64-mongodb-linux/8.3.0/../../../../include/c++/8.3.0/tuple:1687 [j3] #23 0x7fa5142a0a84 in mongo::stdx::thread::thread(mongo::transport::TransportLayerASIO::start()::$_21)::'lambda'()::operator()() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/stdx/thread.h:187 [j3] #24 0x7fa5142a0a84 in mongo::transport::TransportLayerASIO::start()::$_21 std::__invoke_impl(mongo::transport::TransportLayerASIO::start()::$_21)::'lambda'()>(std::__invoke_other, mongo::stdx::thread::thread(mongo::transport::TransportLayerASIO::start()::$_21)::'lambda'()&&) /opt/mongodbtoolchain/revisions/32eb70c47bd9e9759dd05654843feb80461aaef3/stow/gcc-v3.pgi/lib/gcc/x86_64-mongodb-linux/8.3.0/../../../../include/c++/8.3.0/bits/invoke.h:60 [j3] #25 0x7fa4fcdee9de in execute_native_thread_routine /data/mci/3dcebe90f5fc74ae1b80e35cb1f6bcd8/toolchain-builder/tmp/build-gcc-v3.sh-Kwa/build/x86_64-mongodb-linux/libstdc++-v3/src/c++11/../../../../../src/combined/libstdc++-v3/src/c++11/thread.cc:80:18 [j3] [j3] Thread T31 (listener) created by T0 here: [j3] #0 0x557f8c78743d in pthread_create /data/mci/2b29d50424b17e9bd64c23288b01e972/toolchain-builder/tmp/build-llvm.sh-h2X/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:210:3 [j3] #1 0x7fa4fcdeec74 in __gthread_create /data/mci/3dcebe90f5fc74ae1b80e35cb1f6bcd8/toolchain-builder/tmp/build-gcc-v3.sh-Kwa/build/x86_64-mongodb-linux/libstdc++-v3/include/x86_64-mongodb-linux/bits/gthr-default.h:662:35 [j3] #2 0x7fa4fcdeec74 in std::thread::_M_start_thread(std::unique_ptr >, void (*)()) /data/mci/3dcebe90f5fc74ae1b80e35cb1f6bcd8/toolchain-builder/tmp/build-gcc-v3.sh-Kwa/build/x86_64-mongodb-linux/libstdc++-v3/src/c++11/../../../../../src/combined/libstdc++-v3/src/c++11/thread.cc:135:37 [j3] #3 0x7fa5145791a0 in mongo::transport::TransportLayerManager::start() /data/mci/19975cb55fcd7d6078a8b0f089d29abd/src/src/mongo/transport/transport_layer_manager.cpp:89:27 [j3] #4 0x7fa516a35359 in mongo::(anonymous namespace)::_initAndListen(mongo::ServiceContext*, int) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/mongod_main.cpp:777:54 [j3] #5 0x7fa516a20fef in mongo::(anonymous namespace)::initAndListen(mongo::ServiceContext*, int) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/mongod_main.cpp:809:16 [j3] #6 0x7fa516a131df in mongo::mongod_main(int, char**) /data/mci/9adebc2644ea2a48d19cc7ebbcdd73d0/src/src/mongo/db/mongod_main.cpp:1467:25 [j3] #7 0x557f8c7d0ca0 in main /data/mci/4585a3c307cba24fd3fe497782ab7461/src/src/mongo/db/mongod.cpp:47:22 [j3] #8 0x7fa51543dbf6 in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:310 [j3] [j3] SUMMARY: AddressSanitizer: heap-use-after-free /data/mci/233c861a4a4a55a5148357cf11c28002/src/src/mongo/base/data_type.h:70:17 in mongo::DataType::Handler::unsafeLoad(unsigned int*, char const*, unsigned long*) [j3] Shadow bytes around the buggy address: [j3] 0x0c0c80057600: 00 00 00 fa fa fa fa fa 00 00 00 00 00 00 00 fa [j3] 0x0c0c80057610: fa fa fa fa 00 00 00 00 00 00 00 fa fa fa fa fa [j3] 0x0c0c80057620: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd [j3] 0x0c0c80057630: fd fd fd fd fa fa fa fa 00 00 00 00 00 00 00 00 [j3] 0x0c0c80057640: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa [j3] =>0x0c0c80057650: fd fd fd fd fd fd fd fd fa fa fa fa fd fd[fd]fd [j3] 0x0c0c80057660: fd fd fd fa fa fa fa fa 00 00 00 00 00 00 00 00 [j3] 0x0c0c80057670: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa [j3] 0x0c0c80057680: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 [j3] 0x0c0c80057690: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 00 [j3] 0x0c0c800576a0: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa [j3] Shadow byte legend (one shadow byte represents 8 application bytes): [j3] Addressable: 00 [j3] Partially addressable: 01 02 03 04 05 06 07 [j3] Heap left redzone: fa [j3] Freed heap region: fd [j3] Stack left redzone: f1 [j3] Stack mid redzone: f2 [j3] Stack right redzone: f3 [j3] Stack after return: f5 [j3] Stack use after scope: f8 [j3] Global redzone: f9 [j3] Global init order: f6 [j3] Poisoned by user: f7 [j3] Container overflow: fc [j3] Array cookie: ac [j3] Intra object redzone: bb [j3] ASan internal: fe [j3] Left alloca redzone: ca [j3] Right alloca redzone: cb [j3] Shadow gap: cc [j3] ==120948==ABORTING [js_test:computed_projections] assert: threw unexpected exception: Error: error doing query: failed: network error while attempting to run command 'find' on host 'localhost:20750' : { [js_test:computed_projections] "desc" : "Ludicrous nesting torture test with multiple computed fields", [js_test:computed_projections] "expected" : [ [js_test:computed_projections] { [js_test:computed_projections] "_id" : 0, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 1, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 2, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 3, [js_test:computed_projections] "foo" : 2, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 4, [js_test:computed_projections] "bar" : 2, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 5, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] 2, [js_test:computed_projections] 3 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 6, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : 4, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 7, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 8, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] 2 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 9, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] [ [js_test:computed_projections] 1, [js_test:computed_projections] 2, [js_test:computed_projections] 3 [js_test:computed_projections] ] [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 10, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 11, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 12, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 13, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 14, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 15, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 16, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 17, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] { [js_test:computed_projections] "z" : 1 [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "z" : 2 [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 18, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] 4, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 19, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 20, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] 4, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 21, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] { [js_test:computed_projections] "z" : 2 [js_test:computed_projections] }, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 22, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 23, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 24, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 25, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 26, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 27, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "query" : { [js_test:computed_projections] [js_test:computed_projections] }, [js_test:computed_projections] "proj" : { [js_test:computed_projections] "foo" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v1" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] "$v.w" [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "v2" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : "$v.w", [js_test:computed_projections] "then" : 1 [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : 2 [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "v3" : "$b" [js_test:computed_projections] }, [js_test:computed_projections] "in" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 1 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$$v2" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 2 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$$v3", [js_test:computed_projections] 2 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$c" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$$v1", [js_test:computed_projections] "$tf" [js_test:computed_projections] ] [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "bar" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$gt" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 1 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$x.y" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v4" : "$v.w1" [js_test:computed_projections] }, [js_test:computed_projections] "in" : "$$v4" [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w2" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : "$x.y.z" [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "baz" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v5" : "$x.y", [js_test:computed_projections] "v6" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] "in" : { [js_test:computed_projections] "$cond" : { [js_test:computed_projections] "if" : { [js_test:computed_projections] "$lt" : [ [js_test:computed_projections] "$$v5", [js_test:computed_projections] "$$v6" [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$v.w", [js_test:computed_projections] 5 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$v.w", [js_test:computed_projections] 4 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$x.y" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$$v5", [js_test:computed_projections] "$$v6" [js_test:computed_projections] ] [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "else" : false [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] doassert@src/mongo/shell/assert.js:20:14 [js_test:computed_projections] assert.doesNotThrow@src/mongo/shell/assert.js:591:13 [js_test:computed_projections] @jstests/core/computed_projections.js:1113:9 [js_test:computed_projections] @jstests/core/computed_projections.js:1110:1 [js_test:computed_projections] @jstests/core/computed_projections.js:1:2 [js_test:computed_projections] Error: threw unexpected exception: Error: error doing query: failed: network error while attempting to run command 'find' on host 'localhost:20750' : { [js_test:computed_projections] "desc" : "Ludicrous nesting torture test with multiple computed fields", [js_test:computed_projections] "expected" : [ [js_test:computed_projections] { [js_test:computed_projections] "_id" : 0, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 1, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 2, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 3, [js_test:computed_projections] "foo" : 2, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 4, [js_test:computed_projections] "bar" : 2, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 5, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] 2, [js_test:computed_projections] 3 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 6, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : 4, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 7, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 8, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] 2 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 9, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 1, [js_test:computed_projections] [ [js_test:computed_projections] 1, [js_test:computed_projections] 2, [js_test:computed_projections] 3 [js_test:computed_projections] ] [js_test:computed_projections] ], [js_test:computed_projections] "baz" : true [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 10, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 11, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 12, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 13, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 14, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 15, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 16, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 17, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] { [js_test:computed_projections] "z" : 1 [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "z" : 2 [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 18, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] 4, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 19, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 20, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] 4, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 21, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "bar" : [ [js_test:computed_projections] 3, [js_test:computed_projections] { [js_test:computed_projections] "z" : 2 [js_test:computed_projections] }, [js_test:computed_projections] 6 [js_test:computed_projections] ], [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 22, [js_test:computed_projections] "foo" : true, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 23, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 24, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 25, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 26, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "_id" : 27, [js_test:computed_projections] "foo" : false, [js_test:computed_projections] "baz" : false [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "query" : { [js_test:computed_projections] [js_test:computed_projections] }, [js_test:computed_projections] "proj" : { [js_test:computed_projections] "foo" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v1" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] "$v.w" [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "v2" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : "$v.w", [js_test:computed_projections] "then" : 1 [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : 2 [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "v3" : "$b" [js_test:computed_projections] }, [js_test:computed_projections] "in" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 1 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$$v2" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 2 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$$v3", [js_test:computed_projections] 2 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$c" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$$v1", [js_test:computed_projections] "$tf" [js_test:computed_projections] ] [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "bar" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$gt" : [ [js_test:computed_projections] "$x.y", [js_test:computed_projections] 1 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$x.y" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v4" : "$v.w1" [js_test:computed_projections] }, [js_test:computed_projections] "in" : "$$v4" [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w2" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : "$x.y.z" [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "baz" : { [js_test:computed_projections] "$let" : { [js_test:computed_projections] "vars" : { [js_test:computed_projections] "v5" : "$x.y", [js_test:computed_projections] "v6" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] "in" : { [js_test:computed_projections] "$cond" : { [js_test:computed_projections] "if" : { [js_test:computed_projections] "$lt" : [ [js_test:computed_projections] "$$v5", [js_test:computed_projections] "$$v6" [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : { [js_test:computed_projections] "$switch" : { [js_test:computed_projections] "branches" : [ [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$v.w", [js_test:computed_projections] 5 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$v.w" [js_test:computed_projections] }, [js_test:computed_projections] { [js_test:computed_projections] "case" : { [js_test:computed_projections] "$eq" : [ [js_test:computed_projections] "$v.w", [js_test:computed_projections] 4 [js_test:computed_projections] ] [js_test:computed_projections] }, [js_test:computed_projections] "then" : "$x.y" [js_test:computed_projections] } [js_test:computed_projections] ], [js_test:computed_projections] "default" : { [js_test:computed_projections] "$or" : [ [js_test:computed_projections] "$$v5", [js_test:computed_projections] "$$v6" [js_test:computed_projections] ] [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] }, [js_test:computed_projections] "else" : false [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } [js_test:computed_projections] } : [js_test:computed_projections] doassert@src/mongo/shell/assert.js:20:14 [js_test:computed_projections] assert.doesNotThrow@src/mongo/shell/assert.js:591:13 [js_test:computed_projections] @jstests/core/computed_projections.js:1113:9 [js_test:computed_projections] @jstests/core/computed_projections.js:1110:1 [js_test:computed_projections] @jstests/core/computed_projections.js:1:2 [js_test:computed_projections] failed to load: jstests/core/computed_projections.js [js_test:computed_projections] exiting with code -3 [js_test:computed_projections] {"t":{"$date":"2021-05-11T21:28:52.858Z"},"s":"I", "c":"QUERY", "id":22791, "ctx":"js","msg":"Failed to end logical session","attr":{"lsid":{"id":{"$uuid":"77401038-e6b1-4a6e-8f4e-4990c43be441"}},"error":{"code":9001,"codeName":"SocketException","errmsg":"socket exception [CONNECT_ERROR] server [network error while attempting to run command 'isMaster' on host 'localhost:20750' ]"}}}