[SERVER-83751] Remove use of ShardingState in sharded_agg_helpers Created: 30/Nov/23 Updated: 11/Dec/23 Resolved: 11/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | George Wangensteen | Assignee: | George Wangensteen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Service Arch 2023-12-11, Service Arch 2023-12-25 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
sharded_agg_helpers::attachCursorToPipeline can be run from both the router and shard (mongos and mongod). However, thus function uses the ShardingState service-context decoration, which should only be present on mongod, to get the 'local' shardID for use in an optimization. |
| Comments |
| Comment by Githook User [ 11/Dec/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: GitOrigin-RevId: 48f7a698e5f059fb3597ff9a9c0b175841c6be96 |