Extract common createDatabase logic for the existing and new code paths

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-08-19, CAR Team 2024-09-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As a first step of implementing the new createDatabase code path, we mirrored the logic in ShardingCatalogManager::createDatabase() and related helper methods to use in the new createDatabase DDL coordinator. We should refactor the code to extract common logic into utility methods to avoid duplication.

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

              Created:
              Updated:
              Resolved: