tinkerpop3 - Different behavior between neo4j-gremlin-bolt , Tinkergraph and Neo4j-gremlin -


i seeing different behavior between tinkergraph , neo4j-gremlin neo4j-gremlin-bolt neo4j implementation of tinkerpop3, in bit of code:

// different tinkerpop impls graph graph = new neo4jgraph(driver, vertexidprovider, edgeidprovider); // graph graph = neo4jgraph.open("c:\\tmp\neo"); // graph graph = tinkergraph.open();  graphtraversalsource g = graph.traversal();  string label = "person";  (int = 0; < 10; i++) {   system.out.println("before " + +g.v().tolist().size());   graph.addvertex(label);   system.out.println("after " + +g.v().tolist().size()); }  // if graph transactional  graph.tx().commit(); 

what expected vertex count increments 1 10 see tinkergraph , neo4j-gremlin. see neo4j-gremlin-bolt count 1 (after first addvertex). after commit, 10 instances appear in neo4j db (as expected). running second time, count 11 (after first addvertex) , 20 instances appear after commit.

the way have gotten work expected neo4j-gremlin-bolt commit() , close() graph after every addvertex, doesn't seem right.

this seems fundamental behavior, assume missing obvious.

neo4j-gremlin-bolt - v0.2.18

tinkergraph-gremlin - v3.2.4

neo4j-gremlin - v3.2.4

turns out bug in neo4j-gremlin-bolt's handing of transient objects: https://github.com/steelbridgelabs/neo4j-gremlin-bolt/issues/52

fix expected shortly.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -