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

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

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

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

              Created:
              Updated:
              Resolved: