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

Move rename precondition checks away from generic utility API

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • CAR Team 2024-01-22

    Description

      The validation of the rename preconditions on the from/to namespaces is implemented by checkRenamePreconditions and checkDbPrimariesOnTheSameShard, which are functions exposed by a generic utility API.

      Since these functions are based on some assumptions (e.g., DDL lock, the shard is the primary of source database, etc.) the goal is to move all or some of them into the coordinator of the rename command.

      Attachments

        Activity

          People

            antonio.fuschetto@mongodb.com Antonio Fuschetto
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: