Clearing connectionPools should close connections

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ExclusiveConnectionPool's Clear() appears to simply abandons all existing connections without closing them.

      If Clear becomes a blocking operation then we're going to need a ClearAsync version also.

      Closing the connections in the background is dangerous because it creates a possible race conditions where connections are opened faster than they are closed leading to resource exhaustion. 

       

            Assignee:
            Vincent Kam (Inactive)
            Reporter:
            Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: