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

Make the sharding balancer thread always be active on the primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.10
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)

    Description

      Currently, the sharding balancer thread is stopped when the controlBalancer: stop command is run and it won't be restarted if just the balancer document is set to enabled.

      However, if a step-down happens, that thread will be restarted but it won't do anything.

      This makes it slightly asymetric so we should make the thread always run.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: