Make DDL lock / active migrations registry ensure CSS stability

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 🟥 DDL, 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      At the moment, DDLs cannot read collection metadata from the shard catalog because acquiring the DDL lock or the ActiveMigrationsRegistry does not guarantee a stable view of the CSS, even when shards are authoritative.

      To work around this, we still read the metadata from the config server. However, this is not ideal, since the shard is authoritative for its own chunks.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: