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

dropIndex should broadcast to every shard

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • ALL
    • 3

      Currently dropIndex only runs on shards that own chunks for the input namespace.

      This can cause an issue because we might miss an index if a background migration drains a shard right before running the drop

      The perfect solution would be to clean from the shard any residual metadata after a shard is drained.

      For now, as implemented for SERVER-71819  a good approach can be

      • run dropIndex on every shard that own chunks and ensure the response is OK
      • run dropIndex on every shard that DOESN'T own a chunk and ignore the response (best effort)

      This will mitigate (but not solve) the issue

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: