Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1766

Gremlin.Net: Closed connections should not be re-used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.6
    • 3.2.7, 3.3.1
    • dotnet
    • None

    Description

      The driver of Gremlin.Net is kept very simle which holds especially true for the ConnectionPool. It simply returns every connection to its pool of usable connections that was disposed by the client. Unfortunately, this also applies in case the submit failed due to an already closed connection which means that the client will get the closed connection back from the ConnectionPool later and continues trying to submit messages over this closed connection.
      This can be fixed by checking whether the Connection is still open before adding it back to the ConnectionPool.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Florian Hockmann Florian Hockmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: