Authoritative metadata cloning DDL may target removed shard which historically owned chunks

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v9.0
    • CAR Team 2026-08-03
    • 馃煡 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-131694 changed the logic of the authoritative metadata cloning DDL so that it targets not only shards that currently own chunks, but also shards that historically owned chunks (even if currently they own none).

      However it's possible that an historical owner shard has since been removed via removeShard. In this case we will try to target a removed shard so the cloning DDL will return a ShardNotFound error, triggering an infinite retry loop.

        1. repro-SERVER-132059.patch
          6 kB
          Joan Bruguera Mic贸

            Assignee:
            Joan Bruguera Mic贸
            Reporter:
            Joan Bruguera Mic贸
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: