Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10384

use command "db.test.getShardDistribution() " cannot display the data chunks imformation of shards

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.4.4
    • Fix Version/s: None
    • Component/s: Sharding
    • Environment:
      three servers,six shards. Per server has six shards,and per shard exist on three servers
    • Operating System:
      Linux

      Description

      Hi,
      I use command "db.test.getShardDistribution() " to query data chunks imformation of shards,but there is no some imformation with error. See the "repair before.png".
      Then,I use command "db.repairDatabase()" to repair the test database,and use "db.test.getShardDistribution() " to view again.While,there is one shard whose data has lost.See the "repair later.png".

      So,what cause the command "db.test.getShardDistribution()" error?
      And,whether the command "db.repairDatabase()" is always cause data loss?

        Attachments

        1. repair before.png
          repair before.png
          7 kB
        2. repair later.png
          repair later.png
          31 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            h_mongo_x Della He
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: