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

Balancer get stuck for unresponsive server

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.14, 3.2.12
    • Sharding
    • None
    • ALL
    • Hide

      Created 2 mongos on different servers on a sharding cluster.
      Wait for the mongos to get balancer lock while doing "doing balance round" then shutdown the mongos server.

      Show
      Created 2 mongos on different servers on a sharding cluster. Wait for the mongos to get balancer lock while doing "doing balance round" then shutdown the mongos server.

    Description

      I have application mongos on many servers. when the server of balancer gets shut down, the whole process gets stopped and no new balancer is getting selected.

      This problem can be solve by also allowing to choose the specific possible balancers hosts it would solve the problem.

      From today:
      db.locks.findOne({_id:"balancer"})

      { "_id" : "balancer", "state" : 2, "ts" : ObjectId("588a11a3e39015c05a6bd2da"), "who" : "ip-10-50-80-254:27018:1485443270:-728686220:Balancer", "process" : "ip-10-50-80-254:27018:1485443270:-728686220", "when" : ISODate("2017-01-26T15:11:31.774Z"), "why" : "doing balance round" }

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            giladw@mintigo.com Gilad W
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: