You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/06/19 20:51:17 UTC
[2/3] incubator-tinkerpop git commit: Improved docs on gremlin server
protocol.
Improved docs on gremlin server protocol.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/577830d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/577830d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/577830d4
Branch: refs/heads/master
Commit: 577830d40414e79401cd2cc6ba9f310e63a84d6d
Parents: d97fc05
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Jun 19 14:50:28 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Jun 19 14:50:28 2015 -0400
----------------------------------------------------------------------
docs/src/gremlin-applications.asciidoc | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/577830d4/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index e4c4f1c..54892cd 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -698,6 +698,8 @@ Gremlin Server is capable of streaming results such that additional responses wi
|599 |SERVER SERIALIZATION ERROR |The server was not capable of serializing an object that was returned from the script supplied on the request. Either transform the object into something Gremlin Server can process within the script or install mapper serialization classes to Gremlin Server.
|=========================================================
+`SUCCESS` and `NO CONTENT` messages are terminating messages that indicate that a request was properly handled on the server and that there are no additional messages streaming in for that request. When developing a driver, it is important to note the slight differences in semantics for these result codes when it comes to sessionless versus in-session requests. For a sessionless request, which operates under automatic transaction management, Gremlin Server will only send one of these message types after result iteration and transaction `commit()`. In other words, the driver could potentially expect to receive a number of "successful" `PARTIAL CONTENT` messages before ultimately ending in failure on `commit()`. For in-session requests, the client is responsible for managing the transaction and therefore, a first request could receive multiple "success" related messages, only to fail on a future request that finally issues the `commit()`.
+
OpProcessors Arguments
^^^^^^^^^^^^^^^^^^^^^^