Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1162

Create a Connection interface that allows connections to be forcibly expired

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Core API
    • None

      The new driver.Connection interface does not have a method for killing a connection completely (as in, closing the underlying net.Conn as opposed to returning the connection to the pool).

      A new interface can extend the driver.Connection interface with an Expire() method that kills the underlying connection, or an Expire() method can be added to the existing interface. There should also be an Alive() method to check if a connection is still alive (i.e. its Expire() method has not been called).

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            matthew.chiaravalloti@mongodb.com Matthew Chiaravalloti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: