[ https://issues.apache.org/jira/browse/TINKERPOP-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143075#comment-15143075 ]
ASF GitHub Bot commented on TINKERPOP-1039: ------------------------------------------- GitHub user spmallette opened a pull request: https://github.com/apache/incubator-tinkerpop/pull/224 TINKERPOP-1039 Allowed for transaction management in sessions. https://issues.apache.org/jira/browse/TINKERPOP-1039 Added a per request argument called manageTransaction to allow an in-session client to signal that it would like Gremlin Server to commit/rollback at the end of the request. This basically allows a session to behave much like the sessionless request does by default. Did a `--dryRun` of the docs for quick review and `mvn clean install && mvn verify -pl gremlin-server -DskipIntegrationTests=false -DincludeNeo4j` and all looked good. @PommeVerte this one might be of interest to you for review. VOTE +1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1039 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-tinkerpop/pull/224.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #224 ---- commit e9966b3bdbbf8ca34a45e6f9f7a48e9b8b2d5720 Author: Stephen Mallette <sp...@genoprime.com> Date: 2016-02-11T17:10:37Z Allowed for transaction management in sessions. Added a per request argument called manageTransaction to allow an in-session client to signal that it would like Gremlin Server to commit/rollback at the end of the request. This basically allows a session to behave much like the sessionless request does by default. ---- > Enable auto-commit for session'd requests. > ------------------------------------------ > > Key: TINKERPOP-1039 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1039 > Project: TinkerPop > Issue Type: Improvement > Components: server > Affects Versions: 3.1.0-incubating > Reporter: Bob Briody > Assignee: stephen mallette > Fix For: 3.1.2-incubating > > > Context: Regular (non-session) requests automatically handle transaction > commit/rollback. Session'd requests do not. > As a gremlin server user, I would like the ability to enable automatic > transaction handling for session's requests. I would be fine w/ either of the > following: > - Configuring my Client to be auto-commit at startup time > - Specifying a "autoCommit: true" arg when submitting a RequestMessage -- This message was sent by Atlassian JIRA (v6.3.4#6332)