Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1076

Deprecate autoConnectRetry and maxAutoConnectRetryTime

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.12.0
    • None
    • Connection Management
    • None

    Description

      These options cause way too much confusion, and other drivers don't support them. People tend to think they are about retrying failed operations, when really they only pertain to retrying of socket connect. This is of marginal utility, since the maximum retry time allowed by most operating systems for socket connect is already fairly long.

      Users should just set socketConnect to a large enough value for their application.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: