-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QI 2023-04-03, QI 2023-04-17
When run with the `sharding_api_strict_passthrough.yml` suite, the following error results:
uncaught exception: Error: command failed: { "ok" : 0, "errmsg" : "PlanExecutor error during aggregation :: caused by :: failed while running command { create: \"tmp.agg_out.d00aa04f-1136-4909-8356-bff8cdccb9ca\", temp: true, writeConcern: { w: \"majority\", wtimeout: 0, provenance: \"implicitDefault\" } } :: caused by :: BSON field 'create.temp' is not allowed with apiStrict:true.", "code" : 323, "codeName" : "APIStrictError", "$clusterTime" : { "clusterTime" : Timestamp(1676579465, 44), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "operationTime" : Timestamp(1676579465, 44) } with original command request: { "aggregate" : "source_coll", "pipeline" : [ { "$out" : "output_coll" } ], "cursor" : { }, "lsid" : { "id" : UUID("221f4281-d4c5-434b-b61e-d5cddc4af2f0") }, "$clusterTime" : { "clusterTime" : Timestamp(1676579465, 44), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "apiVersion" : "1", "apiStrict" : true } on connection: connection to ip-10-128-55-207.ec2.internal:21295 : aggregate failed : _getErrorWithCode@src/mongo/shell/utils.js:24:13 doassert@src/mongo/shell/assert.js:18:14 _assertCommandWorked@src/mongo/shell/assert.js:766:25 assert.commandWorked@src/mongo/shell/assert.js:860:16 DB.prototype._runAggregate@src/mongo/shell/db.js:283:12 DBCollection.prototype.aggregate@src/mongo/shell/collection.js:974:21 testMerge@jstests/sharding/query/merge_to_non_existing.js:75:20 @jstests/sharding/query/merge_to_non_existing.js:85:10 @jstests/sharding/query/merge_to_non_existing.js:107:2 failed to load: jstests/sharding/query/merge_to_non_existing.js exiting with code -3