-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The $search extension will eventually need the shardId in order to pass it to external infrastructure (see context below). Currently, the only shard information that an extension has access to is the inRouter flag to distinguish between mongos and mongod, but this does not identify which shard a mongod belongs to.
Goal: Add a shardId field to the context that is passed to an extension during the AstNode to LogicalStage transformation (bind).
- is related to
-
SERVER-124090 Emit x-mongodb-command, x-mongodb-searchnodepreference, and x-mongodb-shardid gRPC headers on legacy search path
-
- Needs Scheduling
-