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

Errors on commit in Gremlin Server don't register as exception on driver

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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.

      Also need to determine if exceptions prevent additional iteration of results back to the client as discussed here:

      https://groups.google.com/d/msg/gremlin-users/H5IlmZ4Zgyc/ENfScPisCgAJ

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment