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

Add support for disabling automatic reconnect (fail fast mode)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
      None
    • Environment:
      ruby 2.1.5

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: