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

Create a Connection interface that allows connections to be forcibly expired

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Blocker - P1
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core API
    • None

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: