Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-573

MongoShardedClient does not reconnect if current mongos is down

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.8.5
    • Affects Version/s: 1.8.3, 1.8.4
    • Component/s: Sharded Cluster
    • Labels:
      None
    • Environment:
      MacOS, 2 shard nodes of 3x replica sets, 3 config servers and 3 mongos servers, Ruby 1.9.3p392, Rails 3.2.12, Mongo 2.4.1

      MongoShardedClient does not reconnect if current mongos is down and raise exception:

      Mongo::ConnectionFailure: Failed to connect to host dshovtyuk.local and port 27017: Connection refused - connect(2)

      Next requests works fine.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            shovtyuk@gmail.com Dmitry Shovtyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: