Remove blocking work from Balancer's onStepUp methods

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: