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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.14, 3.5.11, 3.6.3
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: