Fix command _shardsvrFetchCollMetadata

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-05-11
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The command `_shardsvrFetchCollMetadata` was introduced as part of the 'authoritative-collection' initiative under SERVER-101402 before the program was paused for a few months.

      The goal of this command is to fetch the metadata from the config server and install it authoritatively to the targeted shard.

      However, it needs to be adapted to the current way of comiting an authoritative metadata. For instance, it is not installing the metadata on the CSR, which is causing failures in test fetch_coll_metadata_command.js.

      Our suggestion is to follow the same pattern that follows commitCreateCollectionLocally() or similar commands.

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

              Created:
              Updated: