Introduce a new shardsvr command that runs the db metadata commit to the shard-local catalog

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when DDLs that modify database metadata (such as createDB or movePrimary) need to contact a remote shard—which acts as the authoritative source of truth for that database—they use a ShardRemote by sending a write or delete command.

      However, the new model (SPM-3729) also requires appending an oplog 'c' entry to notify secondaries to update the shard-local catalog cache. To address this, we need to design a new command that encapsulates this logic, enabling it to be sent to any shard to commit the database metadata update to the shard-local catalog.

            Assignee:
            Pol Pinol
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: