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

Remove blocking work from Balancer's onStepUp methods

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • None
    • None
    • Replication, Sharding
    • None
    • Sharding EMEA

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: