Hi,
We're seeing new errors in the last ~30 hours with titan-0.2.0-20121217.011832.
Exception in thread "main" java.lang.IllegalArgumentException: -1
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.nextBlock(StandardIDPool.java:69)
at com.thinkaurelius.titan.graphdb.database.idassigner.StandardIDPool.nextID(StandardIDPool.java:115)
at com.thinkaurelius.titan.graphdb.database.idassigner.VertexIDAssigner.assignID(VertexIDAssigner.java:266)
at com.thinkaurelius.titan.graphdb.database.idassigner.VertexIDAssigner.assignID(VertexIDAssigner.java:153)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.assignID(StandardTitanGraph.java:620)
at com.thinkaurelius.titan.graphdb.transaction.AbstractTitanTx.registerNewEntity(AbstractTitanTx.java:121)
at com.thinkaurelius.titan.graphdb.vertices.factory.StandardVertexFactories$1.createNew(StandardVertexFactories.java:23)
at com.thinkaurelius.titan.graphdb.transaction.AbstractTitanTx.addVertex(AbstractTitanTx.java:133)
at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsTransaction.addVertex(TitanBlueprintsTransaction.java:47)
at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.addVertex(TitanBlueprintsGraph.java:100)
It seemed similar to the problem outlined in
https://groups.google.com/forum/#!msg/aureliusgraphs/2Alt-XmfBRQ/h63j5CW4YXgJ so I added
'configuration.setProperty("storage.block-size", 100000)' to the argument to TitanFactory.open(Configuration). I also tried 1000000.
Partition '2' gets that value, but not partition '1', but I don't know if that's relevant.
DEBUG - Acquired ID block [120700001,120800001) on partition 2 (my rid is 0a010051313130333040706c2d6f66666963652d30312e6c6f63616c)
DEBUG - Acquired ID block [55480001,55490001) on partition 1 (my rid is 0a010051313130333040706c2d6f66666963652d30312e6c6f63616c)
...
...
WARN - Temporary storage exception while acquiring id block - retrying in 300 ms: com.thinkaurelius.titan.diskstorage.TemporaryStorageException: Wrote claim for id block [56640001, 56650001) in 955 ms => too slow, threshold is: 300
Could those temporary storage exceptions allow an ID to be acquired from an empty ID buffer?
Is there another way to fix this problem?
Thanks,
David