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

Balancer hits config servers hard even though there are no writes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.9
    • Affects Version/s: 2.6.3, 3.0.12, 3.2.8, 3.3.8
    • Component/s: Sharding
    • Fully Compatible
    • ALL
    • Hide

      In my case, I have a database in 2 shards with slightly less than 30M documents in about 130k chunks. I have 6 mongos instances and, each reading from the first config server at about 20 mbit/s which is 120mbit/s in total. I have to control the balancer manually due to this.

      Show
      In my case, I have a database in 2 shards with slightly less than 30M documents in about 130k chunks. I have 6 mongos instances and, each reading from the first config server at about 20 mbit/s which is 120mbit/s in total. I have to control the balancer manually due to this.

      Every mongos instance starts a balancer round every few seconds. While looking for candidate chunks to move, it always reads all of the chunks with the given ns from the config database, many times only to realize that the collection is in fact well balanced. This may cause a significant network load.

        1. mongos.log.gz
          7 kB
          Jan Ježek

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            jjezek Jan Ježek
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: