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

Remove Balancer ShardRegistry::reload on every round

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2024-11-11, CAR Team 2024-11-25

      The balancer is forcing a reload in the ShardRegistry on every round. This is probably not necessary, as the Balancer lives in the CSRS, which is the source of the topology time. Any access to the ShardRegistry should trigger an update if the topology time was bumped, so this reload should not be necessary, and seems to be legacy from when the balancer lived outside the CSRS.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: