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

Create command to make a shard check that it only has documents it should have

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding

    Description

      We should create a command that can be run on a shard node where it will scan through every document on that shard, and make sure that it doesn't have any documents that the config servers don't think it should have. At the end it should return a list of ids for the documents that it has but shouldn't. This would be helpful for setting things right if we ever get into a bad state where sharding metadata doesn't match reality.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: