You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2022/12/01 11:56:00 UTC

[jira] [Created] (TINKERPOP-2832) Nature of sessions and driver reconnect allow bytecode transactions to appear to remain open

Stephen Mallette created TINKERPOP-2832:
-------------------------------------------

             Summary: Nature of sessions and driver reconnect allow bytecode transactions to appear to remain open
                 Key: TINKERPOP-2832
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2832
             Project: TinkerPop
          Issue Type: Bug
          Components: driver, server
    Affects Versions: 3.5.4
            Reporter: Stephen Mallette


The driver is design to reconnect if it loses its connection to the server. For sessions a close can happen if there is a timeout on the session itself. On the server the session is invalidated, but on the client side, it tries to reconnect using the same session id. Unfortunately this reconnect creates a scenario for bytecode transactions where it can appear as though you're working the same transaction when you are not. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)