Re: [Neo4j] Close with running transaction II

2011-09-13 Thread Peter Neubauer
Vaccaro, can you reliably reproduce this in a unit test? that would be very helpful in doing something about it! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Close with running transaction

2011-03-29 Thread Mattias Persson
I can't reproduce this. I tried: GraphDatabaseService db = new EmbeddedGraphDatabase( mydb ); IndexNode index = db.index().forNodes( myindex ); Thread.sleep( 5000 ); db.shutdown(); and no such message or recovery is displayed. Are you doing something else in your

Re: [Neo4j] Close with running transaction

2011-03-29 Thread Axel Morgner
Seems that another thread is still running when I close the database, so nothing wrong with Neo4j, but with my code. :-( Can I somehow force all running transactions (even when started from other threads) to finish? Am 29.03.2011 10:23, schrieb Mattias Persson: I can't reproduce this. I

Re: [Neo4j] Close with running transaction

2011-03-29 Thread Mattias Persson
Not currently, but I know there has been some discussions some time ago about maybe adding such functionality (maybe automatically rolling back ongoing transactions nicely in shutdown). I'm not fully aware of implications that would have, but something like that could perhaps be good to have.

[Neo4j] Close with running transaction

2011-03-28 Thread Axel Morgner
Good evening, lately I'm experiencing the following log message when closing the database, even if no write transaction was there between startup and shutdown. In my test, I even wait 5s before closing the database and another 5s before stopping the thread - same result. INFO: Close invoked