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

    • Type: Task
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Core API
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: