[DOCS-10555] Inconsistency between examples in sharding documentation Created: 19/Jul/17  Updated: 29/Oct/23  Resolved: 22/Aug/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mariano Escribano Assignee: Allison Reinheimer Moore
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 30 weeks ago

 Description   

In the documentation for config databases in sharded clusters, there are two examples where one is missing the replset name:

https://docs.mongodb.com/manual/reference/config-database/#config.shards

{ "_id" : "shard0000", "host" : "shard1/localhost:30000" }

and

{ "_id" : "shard0001", "host" : "localhost:30001", "tags": [ "NYC" ] }

I believe the 2nd example should continue to list the replset name like the 1st one, like so:

{ "_id" : "shard0001", "host" : "shard1/localhost:30001", "tags": [ "NYC" ] }

Thanks.


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