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

Add support for disabling automatic reconnect (fail fast mode)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 12_01_17
    • Affects Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      ruby 2.1.5

      It would be good if Ruby driver can optionally fail fast on connection errors and not try to reconnect infinitely, or, at least limit reconnect numbers before issuing an exception. I wrote a Nagios check for our MongoDB replica set, but it takes quite long time until driver realizes the connection is dead.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            hron84 Gabor Garami
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: