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

Comment on: "manual/reference/method/db.collection.getShardDistribution.txt"

    XMLWordPrintable

Details

    Description

      I run into a problem :
      my collection was enabled sharding,i can see the Chunk distribution through sh.status(),and this is output:
      chunks:
      shard01 3
      shard02 16
      But i can not see the details of shard01 through db.collection.getShardDistribution(),here is out put:

      Shard shard02 at shard02/mongo01:27018,mongo02:27018
      data : 418.32MiB docs : 141345 chunks : 16
      estimated data per chunk : 26.14MiB
      estimated docs per chunk : 8834

      Totals
      data : 418.32MiB docs : 141345 chunks : 16
      Shard shard02 contains 100% data, 100% docs in cluster, avg obj size on shard : 3KiB

      Is it a bug or something? Any help would means a lot.

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              xgen-internal-docs Docs Collector User (Inactive)
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 21 weeks ago