Make MovePrimary DDL to delete and insert database metadata from the shard-local replicated collections

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-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The purpose of this ticket is to update the MovePrimary DDL to insert a new entry for the database metadata in the new primary shard and remove the entry for the old primary shard from the shard-local replicated collection.

      The implementation outlined in this ticket aims for the MovePrimary coordinator to perform the insert operation within a critical section, followed by the delete operation in the critical section. No additional complexities need to be addressed within the scope of this ticket.

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

              Created:
              Updated:
              Resolved: