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

Avoid reselecting database primary candidate shard when not necessary

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 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

      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@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: