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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Major Change

      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.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: