[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 (SERVER-62149).



 Comments   
Comment by Githook User [ 10/Feb/22 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-63474 Do not recompute the ShardKeyPattern
Branch: master
https://github.com/mongodb/mongo/commit/541b8978175bd3bae5c2813691030c9f6563be1f

Generated at Thu Feb 08 05:57:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.