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

ChunkManager can contain chunks that refer to shards that were removed

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.14, 3.5.11, 3.6.3
    • Component/s: Sharding
    • Sharding

      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.

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

              Created:
              Updated:
              Resolved: