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 2021/03/05 13:10:27 UTC

[tinkerpop] 01/01: Merge branch 'TINKERPOP-2517'

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 79df204c359f291ad9ec4b0c54a019b431b32ebd
Merge: 4aed594 c613c0d
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Fri Mar 5 08:10:10 2021 -0500

    Merge branch 'TINKERPOP-2517'

 CHANGELOG.asciidoc                                 |  2 +
 docs/src/dev/provider/index.asciidoc               | 14 ++++---
 docs/src/reference/gremlin-applications.asciidoc   |  8 ++++
 docs/src/reference/the-graph.asciidoc              |  3 ++
 docs/src/upgrade/release-3.5.x.asciidoc            | 30 +++++++++++++
 .../gremlin/structure/util/TemporaryException.java | 27 ++++++++++++
 .../gremlin/driver/message/ResponseStatusCode.java | 41 ++++++++++++++++--
 .../gremlin/server/op/AbstractEvalOpProcessor.java |  9 +++-
 .../gremlin/server/op/AbstractOpProcessor.java     | 13 ++++++
 .../server/op/traversal/TraversalOpProcessor.java  | 27 ++++++++----
 .../server/util/DefaultTemporaryException.java     | 49 ++++++++++++++++++++++
 .../gremlin/server/GremlinServerIntegrateTest.java | 16 +++++++
 12 files changed, 222 insertions(+), 17 deletions(-)

diff --cc CHANGELOG.asciidoc
index a86957c,3abd9b3..206824d
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@@ -28,9 -28,9 +28,11 @@@ This release also includes changes fro
  * Allowed the possibility for the propagation of `null` as a `Traverser` in Gremlin.
  * Fixed a bug where spark-gremlin was not re-attaching properties when using `dedup()`.
  * Ensured better consistency of the use of `null` as arguments to mutation steps.
+ * Added a `ResponseStatusCode` to indicate that a client should retry its request.
+ * Added `TemporaryException` interface to indicate that a transaction can be retried.
  * Prevented `TraversalStrategy` instances from being added more than once, where the new instance replaces the old.
 +* Improved error message for `addE()` when the `from()` or `to()` does not resolve to a `Vertex`.
 +* Improved error message for `addE()` when cardinality is specified on `property()` assignments.
  * Allowed `property(T.label,Object)` to be used if no value was supplied to `addV(String)`.
  * Allowed additional arguments to `Client.submit()` in Javascript driver to enable setting of parameters like `scriptEvaluationTimeout`.
  * Gremlin.Net driver no longer supports skipping deserialization by default. Users can however create their own `IMessageSerializer` if they need this functionality.