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

Remove blocking work from Balancer's onStepUp methods

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Sharding
    • None
    • Sharding EMEA

      We should be trying to avoid doing blocking work in the stepUp path as much as possible. The balancer, however, does a blocking wait for the previous balancer run to complete, as well as a database i/o as part of stepup.

      Instead, the balancer's onStepUpComplete method should schedule a thread to do this work asynchronously, without blocking stepup.

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: