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

Handle balancer configuration refresh in `balancer_defragmentation_merge_chunks.js`

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 134

      When shards are refreshing the balancer configuration from the CSRS (every 30 seconds), some reads are performed on `config.settings` to retrieve the current state of the balancer.

      It is then possible that a shards temporarily has a non-updated status of the balancer for 30 seconds. For example, it can happen that a shard believes the auto splitter had been disabled because a refresh can see the stop of the balancer and not the subsequent start.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: