Question

I am trying to created a Thinkaurelius titan datastore using:

TitanGraph graph = TitanFactory.open("/tmp/graph") 

The documentation can be found at https://github.com/thinkaurelius/titan/wiki/Using-BerkeleyDB But each time I open the graph a new datastore is being created. I even tryed using the configure object but it did not help. Has any one worked on this before? I wanto create a titan datastore that should be reusable, i.e. it should not create a new datastore each time I open it.

Any suggestions please?

Was it helpful?

Solution

It sounds like the changes aren't being committed to the database. Look more into how transactions work.

https://github.com/thinkaurelius/titan/wiki/Transaction-Handling

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top