Re: [Neo4j] Checking for unfinished transactions

2011-08-23 Thread Mattias Persson
Transactions that haven't yet committed aren't written to the logical log so if you're about to check this at runtime it cannot be done in the same way. What you'd have to do is to monitor the transactions that are alive and maybe tie each to a client so that they can be rolled back if they get

[Neo4j] Checking for unfinished transactions

2011-07-31 Thread Felipe Oliveira Carvalho
How can I check if there are unfinished transactions? I want to do the same thing that is done when EmbeddedGraphDatabase is instantiated after a non-clean shutdown. Jul 31, 2011 5:06:12 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown