[SERVER-63474] Do not recompute the ShardKeyPattern in the ShardFiltererImpl Created: 09/Feb/22 Updated: 29/Oct/23 Resolved: 10/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Sergi Mateo Bellido |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding EMEA 2022-02-21 |
| Participants: |
| Description |
|
The current implementation of the ShardFiltererImpl computes its own ShardKeyPattern. However, this is not needed anymore: we can obtain this object from the ScopedCollectionFilter itself ( |
| Comments |
| Comment by Githook User [ 10/Feb/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |