[SERVER-85525] `collMod` coordinator can get the current shard ID without accessing the catalog cache Created: 22/Jan/24  Updated: 29/Jan/24  Resolved: 29/Jan/24

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: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-84243 Separate Shard-Role Catalog Cache and... In Progress
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2024-01-22, CAR Team 2024-02-05
Participants:

 Description   

The corrdinator fo the `collMod` command access to the ID of the shard by accessing the catalog cache. It is used to get the connection string to be passed back to the caller.

Goal of this ticket is to access the shard ID by using ShardingState::shardId().



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

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-85525 `collMod` coordinator can get the current shard ID without accessing the catalog cache (#18259)

GitOrigin-RevId: 24dc03f9fbbf973512bafd1e1945272c6d5c1790
Branch: master
https://github.com/mongodb/mongo/commit/eb459a1e5650e826bacff1e4da6d9bab60715fd3

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