-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
This issue happens when featureFlagSBELookupPushdown is turned on.
test suite:
- aggregation_sharded_collections_causally_consistent_passthrough
[js_test:lookup_subpipeline_and_fields] uncaught exception: Error: command failed: {
[js_test:lookup_subpipeline_and_fields] "ok" : 0,
[js_test:lookup_subpipeline_and_fields] "errmsg" : "sharding status of collection lookup_subpipeline_and_fields.view is not currently available for description and needs to be recovered from the config server",
[js_test:lookup_subpipeline_and_fields] "code" : 13388,
[js_test:lookup_subpipeline_and_fields] "codeName" : "StaleConfig",
[js_test:lookup_subpipeline_and_fields] "ns" : "lookup_subpipeline_and_fields.view",
[js_test:lookup_subpipeline_and_fields] "vReceived" : Timestamp(0, 0),
[js_test:lookup_subpipeline_and_fields] "vReceivedEpoch" : ObjectId("00000000ffffffffffffffff"),
[js_test:lookup_subpipeline_and_fields] "vReceivedTimestamp" : Timestamp(4294967295, 4294967295),
[js_test:lookup_subpipeline_and_fields] "shardId" : "shard-rs0",
[js_test:lookup_subpipeline_and_fields] "$clusterTime" : {
[js_test:lookup_subpipeline_and_fields] "clusterTime" : Timestamp(1647724601, 35),
[js_test:lookup_subpipeline_and_fields] "signature" :
[js_test:lookup_subpipeline_and_fields] },
[js_test:lookup_subpipeline_and_fields] "operationTime" : Timestamp(1647724601, 35)
[js_test:lookup_subpipeline_and_fields] } with original command request: {
[js_test:lookup_subpipeline_and_fields] "query" : {
[js_test:lookup_subpipeline_and_fields] "aggregate" : "animals",
[js_test:lookup_subpipeline_and_fields] "pipeline" : [
[js_test:lookup_subpipeline_and_fields] {
[js_test:lookup_subpipeline_and_fields] "$lookup" : {
[js_test:lookup_subpipeline_and_fields] "from" : "view",
[js_test:lookup_subpipeline_and_fields] "localField" : "locationId",
[js_test:lookup_subpipeline_and_fields] "foreignField" : "my_id",
[js_test:lookup_subpipeline_and_fields] "as" : "location",
[js_test:lookup_subpipeline_and_fields] "pipeline" : [
[js_test:lookup_subpipeline_and_fields] {
[js_test:lookup_subpipeline_and_fields] "$match" : {
[js_test:lookup_subpipeline_and_fields] "$expr" :
[js_test:lookup_subpipeline_and_fields] }
[js_test:lookup_subpipeline_and_fields] }
[js_test:lookup_subpipeline_and_fields] ]
[js_test:lookup_subpipeline_and_fields] }
[js_test:lookup_subpipeline_and_fields] }
[js_test:lookup_subpipeline_and_fields] ],
[js_test:lookup_subpipeline_and_fields] "cursor" :
,
[js_test:lookup_subpipeline_and_fields] "lsid" :
,
[js_test:lookup_subpipeline_and_fields] "$clusterTime" : {
[js_test:lookup_subpipeline_and_fields] "clusterTime" : Timestamp(1647724601, 35),
[js_test:lookup_subpipeline_and_fields] "signature" :
[js_test:lookup_subpipeline_and_fields] },
[js_test:lookup_subpipeline_and_fields] "readConcern" :
[js_test:lookup_subpipeline_and_fields] },
[js_test:lookup_subpipeline_and_fields] "$readPreference" :
[js_test:lookup_subpipeline_and_fields] } on connection: connection to localhost:20003 : aggregate failed :
[js_test:lookup_subpipeline_and_fields] _getErrorWithCode@src/mongo/shell/utils.js:24:13
[js_test:lookup_subpipeline_and_fields] doassert@src/mongo/shell/assert.js:18:14
[js_test:lookup_subpipeline_and_fields] _assertCommandWorked@src/mongo/shell/assert.js:737:25
[js_test:lookup_subpipeline_and_fields] assert.commandWorked@src/mongo/shell/assert.js:829:16
[js_test:lookup_subpipeline_and_fields] DB.prototype._runAggregate@src/mongo/shell/db.js:286:12
[js_test:lookup_subpipeline_and_fields] DBCollection.prototype.aggregate@src/mongo/shell/collection.js:974:21
[js_test:lookup_subpipeline_and_fields] @jstests/aggregation/sources/lookup/lookup_subpipeline_and_fields.js:222:25
[js_test:lookup_subpipeline_and_fields] @jstests/aggregation/sources/lookup/lookup_subpipeline_and_fields.js:335:2
- duplicates
-
SERVER-64585 CollectionsInfo map doesn't contain foreign collection when $lookup is a sub-pipeline
- Closed