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

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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-02-17

      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@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: