Separate checks and writes to different coordinator phases for database creation

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 2024-10-28, CAR Team 2024-11-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some basic checks that do not require holding the DDL lock may be moved to before acquiring the DDL lock.

      The other checks that need to hold the DDL lock can also be moved to a separate phase similar to what's done in createCollection coordinator.

      Writes will go to their own phase since the coordinator then needs to enter the state of always making progress.

       

            Assignee:
            Yuhong Zhang
            Reporter:
            Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: