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

Mongo constructor should not attempt network connections and potentially throw exception that prevents app from starting

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Major Change
    • # Replies:
      3
    • Last comment by Customer:
      true

      Description

      constructors should always remain lean and not block.
      Also we must not prevent the caller's application from starting.
      Client apps will get error when doing operations and handle them as needed.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 39 weeks, 3 days ago
                Date of 1st Reply: