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

ChunkManager can contain chunks that refer to shards that were removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.4.14, 3.5.11, 3.6.3
    • None
    • Sharding
    • Sharding

    Description

      After a shard has been removed, the ShardRegistry can refresh itself and remove the shard. However, it is possible that the ChunkManager to continue on having chunks that refer to the removed shard and get a ShardNotFound error.

      One example is the validate command. It uses the ChunkManager to get the list of shards to run the command to, and it will get ShardNotFound error before it even tries to send it.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: