You could configure the lucene data source to auto rotate logs more frequently. If logs are large recovery takes longer time.
-Johan On Mon, Oct 17, 2011 at 11:37 PM, Nuo Yan <[email protected]> wrote: > What if in production due to whatever reason the neo4j server died and in > the case people have to start up a new server with the current snapshot of > data (which would be data from a non-clean shut down). In such case, I don't > think it's acceptable to table lots of time (hours for large indices) to > bring the server back. Is there a best practice here? > > Thanks, > Nuo > > On Thu, Sep 1, 2011 at 8:19 AM, Peter Neubauer < > [email protected]> wrote: > >> Dima, >> are you shutting down your database correctly? Make sure you can >> database.shutdown() and wait for it to finish ... >> >> Cheers, >> >> /peter neubauer >> >> GTalk: neubauer.peter >> Skype peter.neubauer >> Phone +46 704 106975 >> LinkedIn http://www.linkedin.com/in/neubauer >> Twitter http://twitter.com/peterneubauer >> >> http://www.neo4j.org - Your high performance graph database. >> http://startupbootcamp.org/ - Öresund - Innovation happens HERE. >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >> >> >> On Thu, Sep 1, 2011 at 1:31 PM, Dima Gutzeit <[email protected] >> >wrote: >> >> > Dear list members, >> > >> > Each time I restart my server based on Neo4J I can see this in the logs: >> > >> > Sep 1, 2011 7:23:17 PM >> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >> > doInternalRecovery >> > INFO: Non clean shutdown detected on log >> [/opt/data/nioneo_logical.log.2]. >> > Recovery started ... >> > Sep 1, 2011 7:23:18 PM >> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >> > doInternalRecovery >> > INFO: Non clean shutdown detected on log [/opt/data/index/lucene.log.1]. >> > Recovery started ... >> > >> > Operation which takes time ... lots of time. >> > >> > What is the correct way of preventing that when restarting ? >> > >> > Thanks in advance. >> > >> > Regards, >> > Dima Gutzeit. >> > _______________________________________________ >> > Neo4j mailing list >> > [email protected] >> > https://lists.neo4j.org/mailman/listinfo/user >> > >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

