tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject incubator-tinkerpop git commit: TINKERPOP-1047 Add a note about use of GraphSON for TinkerGraph's graphFormat setting.
Date Thu, 17 Dec 2015 18:58:15 GMT
Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 56a486955 -> 0c74e3916

TINKERPOP-1047 Add a note about use of GraphSON for TinkerGraph's graphFormat setting.

Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/0c74e391
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/0c74e391
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/0c74e391

Branch: refs/heads/master
Commit: 0c74e39163e592092fae27326206e9040cfb8630
Parents: 56a4869
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Thu Dec 17 13:57:37 2015 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Thu Dec 17 13:57:37 2015 -0500

 docs/src/reference/implementations.asciidoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/src/reference/implementations.asciidoc b/docs/src/reference/implementations.asciidoc
index 5ddb743..323f481 100644
--- a/docs/src/reference/implementations.asciidoc
+++ b/docs/src/reference/implementations.asciidoc
@@ -651,6 +651,11 @@ If the TinkerGraph is configured for persistence with `gremlin.tinkergraph.graph
 format when `Graph.close()` is called.  In addition, if these settings are present, TinkerGraph
will attempt to
 load the graph from the specified location.
+IMPORTANT: If choosing `graphson` as the `gremlin.tinkergraph.graphFormat`, be sure to also
establish the  various
+`IdManager` settings as well to ensure that identifiers are properly coerced to the appropriate
types as GraphSON
+can lose the identifier's type during serialization (i.e. it will assume `Integer` when the
default for TinkerGraph
+is `Long`, which could lead to load errors that result in a message like, "Vertex with id
already exists").
 It is important to consider the data being imported to TinkerGraph with respect to `defaultVertexPropertyCardinality`
 setting.  For example, if a `.gryo` file is known to contain multi-property data, be sure
to set the default
 cardinality to `list` or else the data will import as `single`.  Consider the following:

View raw message