Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10555

Inconsistency between examples in sharding documentation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            allison.moore@mongodb.com Allison Reinheimer Moore
            Reporter:
            mariano.escribano@mongodb.com Mariano Escribano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 40 weeks, 1 day ago