-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When run with the `sharding_api_strict_passthrough.yml` suite, the following error results:
uncaught exception: Error: command did not fail with any of the following codes [ 263 ] {
"ok" : 0,
"errmsg" : "BSON field 'aggregate.explain' is not allowed with apiStrict:true.",
"code" : 323,
"codeName" : "APIStrictError",
"$clusterTime" : {
"clusterTime" : Timestamp(1676579468, 44),
"signature" : {
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"keyId" : NumberLong(0)
}
},
"operationTime" : Timestamp(1676579468, 44)
} : {
"ok" : 0,
"errmsg" : "BSON field 'aggregate.explain' is not allowed with apiStrict:true.",
"code" : 323,
"codeName" : "APIStrictError",
"$clusterTime" : {
"clusterTime" : Timestamp(1676579468, 44),
"signature" : {
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"keyId" : NumberLong(0)
}
},
"operationTime" : Timestamp(1676579468, 44)
} :
_getErrorWithCode@src/mongo/shell/utils.js:24:13
doassert@src/mongo/shell/assert.js:18:14
_assertCommandFailed@src/mongo/shell/assert.js:834:29
assert.commandFailedWithCode@src/mongo/shell/assert.js:882:16
@jstests/sharding/query/explain_cmd.js:155:8
@jstests/sharding/query/explain_cmd.js:159:3
failed to load: jstests/sharding/query/explain_cmd.js
exiting with code -3