[SERVER-74166] Investigate stable API versioning compatibility for create.temp Created: 17/Feb/23  Updated: 29/Oct/23  Resolved: 10/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Naama Bareket Assignee: Naama Bareket
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-04-03, QI 2023-04-17
Participants:

 Description   

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 



 Comments   
Comment by Githook User [ 10/Apr/23 ]

Author:

{'name': 'Naama Bareket', 'email': 'naama.bareket@mongodb.com', 'username': 'naama-bareket'}

Message: SERVER-74166: Mark 'temp' field in create command as stable to support $out flow
Branch: master
https://github.com/mongodb/mongo/commit/6c2987acbfe5bf785a2476283f0ae84ea7fc334f

Comment by Kyle Suarez [ 07/Mar/23 ]

Since Arun is out for a few weeks – ted.tuckman@mongodb.com is there someone on QI that can pick up this ticket?

Comment by Ana Meza [ 28/Feb/23 ]

arun.banala@mongodb.com can this be assigned to someone on the QI team?

Generated at Thu Feb 08 06:26:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.