stephen mallette created TINKERPOP-1106:
-------------------------------------------

             Summary: Errors on commit in Gremlin Server don't register as 
exception on driver
                 Key: TINKERPOP-1106
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1106
             Project: TinkerPop
          Issue Type: Bug
          Components: driver
    Affects Versions: 3.1.1-incubating
            Reporter: stephen mallette
            Assignee: stephen mallette
            Priority: Critical
             Fix For: 3.1.2-incubating


Because the last message in a result is sent before commit as the terminating 
message, a failure on {{commit()}} will send another message, but the driver 
won't be looking for it and it will not register as an exception on that 
request.

Seems like the solution would be to save the last message until after commit, 
and if the commit fails, you would send the error back otherwise send the last 
message.  In this way the protocol doesn't have to change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to