[SERVER-41655] Implement skeletons for refineCollectionShardKey and _configsvrRefineCollectionShardKey Created: 12/Jun/19  Updated: 29/Oct/23  Resolved: 18/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: James Heppenstall (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-13052 Investigate changes in SERVER-42367: ... Closed
Gantt Dependency
has to be done before SERVER-41657 Create action type for refineCollecti... Closed
has to be done after SERVER-41653 Create IDL types for refineCollection... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-06-17, Sharding 2019-07-01
Participants:

 Description   

For refineCollectionShardKey:

  1. Should be a command on mongos in a file named cluster_refine_collection_shard_key.cpp in src/mongo/s/commands to match our convention
  2. Forwards its arguments to the config server primary by sending _configsvrRefineCollectionShardKey using the config shard from the shard registry with an idempotent retry policy
  3. Invalidates the routing table entry for the given namespace through the catalog cache

For _configsvrRefineCollectionShardKey:

  1. Should be a command on the config server in a file named configsvr_refine_collection_shard_key.cpp in src/mongo/db/s/config to match our convention
  2. Returns success always

Both should inherit from TypedCommand, not BasicCommand.



 Comments   
Comment by Githook User [ 18/Jun/19 ]

Author:

{'name': 'Jamie Heppenstall', 'email': 'jamie.heppenstall@mongodb.com', 'username': 'JamesHeppenstall'}

Message: SERVER-41655 Add classes RefineCollectionShardKeyCommand and ConfigsvrRefineCollectionShardKeyCommand
Branch: master
https://github.com/mongodb/mongo/commit/7c3118aa8d612ffb91dd0c8ca43e730953b7900e

Generated at Thu Feb 08 04:58:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.