[SERVER-64175] Change refineCollectionShardKey index validation checks Created: 03/Mar/22  Updated: 29/Oct/23  Resolved: 28/Dec/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-64187 move calls to validateShardKeyIsNotEn... Backlog
Related
is related to SERVER-72515 Remove refine collection shard key te... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-06-13, Sharding EMEA 2022-07-25, Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19, Sharding EMEA 2022-10-03, Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26
Participants:

 Description   

Currently the config server refineCollectionShardKey command is doing the command verifications. This should be done on the coordinator on it's own phase, or before calling the configserver command using _completeOnError flag. This can allow using catalog functions instead of a DBDirectClient in shard_key_util.



 Comments   
Comment by Githook User [ 04/Jan/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-64175 Add TODO ticket to remove refineCollectionShardKey test after 7.0 becomes last-lts
Branch: master
https://github.com/mongodb/mongo/commit/ae00391b27a534aea1684626f5598c5ce9622ce0

Comment by Githook User [ 28/Dec/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-64175 Modify refine shard key index validations so they are performed in each shard
Branch: master
https://github.com/mongodb/mongo/commit/07b5f334c547b5ab254e2952ae7b653fa9a8bcb4

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