Configure max connection retry time

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.4
    • Affects Version/s: 2.6.3
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the Mongo server is down, the socket timeout is not applicable (it realizes it's down close to instantly). But DBPort has a constant called CONN_RETRY_TIME_MS that means DBPort will repeatedly try to connect to the unavailable server until a certain time has elapsed.

      That maximum connection retry time should be configurable. The code to make it configurable is here:

      https://github.com/mongodb/mongo-java-driver/pull/37

              Assignee:
              Antoine Girbal (Inactive)
              Reporter:
              Sean Schulte
              None
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: