[SERVER-10050] Make shardName on an individual shard server available via command (in isMaster) Created: 27/Jun/13  Updated: 06/Dec/22  Resolved: 28/Jan/21

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

Type: Improvement Priority: Minor - P4
Reporter: Ryan Nitz Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: sharding-product-sync
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Description   

It would be incredibly useful to be able to access the shardName for a particular server when talking to it. Currently, this information is only available via the config/mongos.

I spoke with greg_10gen and he said this information is already available, but not exposed.

isMaster currently has the setName, it seems like it would be the logical place to add the shardName.



 Comments   
Comment by Greg Studer [ 07/Mar/14 ]

We can do this in getShardVersion pretty trivially.

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