Den onsdagen den 9:e februari 2011 skrev John Howard<johnyho...@gmail.com>: > Thanks Mattias. > > I used the link you provided in another mail ( > http://neo4j.org/get?file=neo4j-1.3-SNAPSHOT-windows.zip) > That fixed the recovery problem. But after the recovery, I saw duplicate > index for the same node. That is, when I searched for an index key/value, it > returned 2 identical nodes. I cleaned the graph and reloaded the data, I > could not reproduce the duplicate case. I suspect it could be my code.
Allright, that should of course not happen... Thanks for reporting that, I'll see if I can trigger it myself somehow. > > It now seems to be fine. > > Thanks once again! > > > > > > > On Wed, Feb 9, 2011 at 1:52 AM, Mattias Persson > <matt...@neotechnology.com>wrote: > >> This is the same issue reported on the list before... The latest >> snapshots build will fix it (even recovery), and soon the next >> milestone will be out, where it also is included. >> >> Den onsdagen den 9:e februari 2011 skrev John Howard<johnyho...@gmail.com >> >: >> > Thanks Peter. >> > >> > I tried to shutdown and restart our server. And the graph was unable to >> > recover. >> > Here are the logs. The same code worked just few hours ago. >> > >> > ,280 INFO [[DATADIR=C:\JBoss\jboss-5.1.0.GA <http://jboss-5.1.0.ga/> >> \server\all\data\ssGraph]] >> > 2011-02-09 01:30:22,131 INFO >> > [org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog/C:\JBoss\ >> > jboss-5.1.0.GA >> > <http://jboss-5.1.0.ga/>\server\all\data\ssGraph\index/lucene.log] >> Non clean shutdown >> > detected on log >> > [C:\JBoss\jboss-5.1.0.GA <http://jboss-5.1.0.ga/> >> \server\all\data\ssGraph\index/lucene.log.1]. >> > Recovery started ... >> > 392 ERROR [STDERR] org.neo4j.graphdb.TransactionFailureException: Could >> not >> > create data source lucene-index[lucene-index] >> > 397 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:181) >> > 444 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.LuceneIndexProvider.load(LuceneIndexProvider.java:109) >> > 449 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.LuceneIndexProvider.init(LuceneIndexProvider.java:93) >> > 452 ERROR [STDERR] at >> > >> org.neo4j.kernel.KernelExtension$KernelData.initAll(KernelExtension.java:152) >> > 456 ERROR [STDERR] at >> > org.neo4j.kernel.EmbeddedGraphDbImpl$2.init(EmbeddedGraphDbImpl.java:159) >> > 460 ERROR [STDERR] at >> > org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:154) >> > 462 ERROR [STDERR] at >> > org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:167) >> > 466 ERROR [STDERR] at >> > >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:80) >> > 470 ERROR [STDERR] at >> > >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:64) >> > 699 ERROR [STDERR] Caused by: java.lang.NullPointerException >> > 701 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.IndexType$CustomType.removeFromDocument(IndexType.java:164) >> > 704 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.LuceneCommand$RemoveCommand.perform(LuceneCommand.java:241) >> > 708 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:230) >> > 712 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:318) >> > 717 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.injectTwoPhaseCommit(XaResourceManager.java:379) >> > 720 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyTwoPhaseCommitEntry(XaLogicalLog.java:563) >> > 724 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyEntry(XaLogicalLog.java:455) >> > 727 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.doInternalRecovery(XaLogicalLog.java:773) >> > 732 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:271) >> > 735 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:194) >> > 739 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.xaframework.XaContainer.openLogicalLog(XaContainer.java:97) >> > 743 ERROR [STDERR] at >> > >> org.neo4j.index.impl.lucene.LuceneDataSource.<init>(LuceneDataSource.java:211) >> > 746 ERROR [STDERR] ... 59 more >> > 901 INFO [org.neo4j.kernel.impl.transaction.TxManager] Unresolved >> > transactions found, recovery started ... >> > 904 ERROR [STDERR] org.neo4j.graphdb.TransactionFailureException: No >> > mapping found for branchId[0x162374] >> > 907 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:185) >> > 911 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:933) >> > 915 ERROR [STDERR] at >> > >> org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:414) >> > 919 ERROR [STDERR] at >> > org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:255) >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user