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

sh.getBalancerState does not consider the {mode:off} balancer setting

    XMLWordPrintableJSON

Details

    • Sharding
    • ALL

    Description

      The sh.getBalancerState helper only looks at the stopped value of the config.settings document and ignores the mode setting we introduced in 3.4.

      Ideally it should not be inspecting the config.settings directly, but should use the balancerStatus command.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: