Avoid reselecting database primary candidate shard when not necessary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-11-11, CAR Team 2024-11-25, CAR Team 2024-12-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In the newly introduced createDatabase DDL coordinator, if it's re-executed upon receiving certain errors (failovers, etc.), it shouldn't rerun the potentially expensive DB primary selection again.

      We can introduce another persisted field to indicate whether it's necessary to run DB primary selection and persist the selected primary shard.

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

              Created:
              Updated:
              Resolved: