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

Warn if balancer is disabled while draining shard

    • Fully Compatible
    • v6.0, v5.0
    • Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27, Sharding EMEA 2022-07-11
    • 4.5

      We are constantly getting bit in Atlas by shard draining that is "stuck" because the customer has disabled the balancer. Inevitably, we spend time looking through the logs for a "problem" and finally realize the balancer is off. Draining a shard with the balancer off is not a normal configuration. Could we please log a message about this in the logs, periodically?

      One possible solution would be to make the balancer check if some shard needs to be drain even if balancing have been disabled and periodically log a warning.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: