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

Add cluster cleanup logic to Client#with

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The Client constructor has elaborate logic to clean up the cluster (and associated background threads) when the client construction fails. Client#with may end up creating a new cluster and should have similar logic to clean up the newly created cluster if errors are encountered.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: