: REGRESSION: org.apache.solr.handler.TestReplicationHandler.doTestStressReplication : : Error Message: : timed out waiting for collection1 startAt time to exceed: Sun Apr 14 11:48:20 ECT 2013 : : Stack Trace: : java.lang.AssertionError: timed out waiting for collection1 startAt time to exceed: Sun Apr 14 11:48:20 ECT 2013 : at __randomizedtesting.SeedInfo.seed([F2791E68547FFE97:29D21EAE51579724]:0) : at org.junit.Assert.fail(Assert.java:93) : at org.apache.solr.handler.TestReplicationHandler.watchCoreStartAt(TestReplicationHandler.java:1472) : at org.apache.solr.handler.TestReplicationHandler.doTestStressReplication(TestReplicationHandler.java:776)
I checked the logs and confirmed that this is a manifestation of SOLR-4709. Miller: do you understand what's going on here with the getNewIndexDir() check in SolrCore.reload? Is there a bug here, or should SnapPuler have some retry logic for the core reload? https://issues.apache.org/jira/browse/SOLR-4709 [junit4:junit4] 1> ERROR - 2013-04-14 16:48:20.864; org.apache.solr.core.CoreContainer; Unable to reload core: collection1 [junit4:junit4] 1> org.apache.solr.common.SolrException: Index locked for write for core collection1 [junit4:junit4] 1> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821) [junit4:junit4] 1> at org.apache.solr.core.SolrCore.reload(SolrCore.java:408) [junit4:junit4] 1> at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1108) [junit4:junit4] 1> at org.apache.solr.handler.SnapPuller$2.run(SnapPuller.java:666) [junit4:junit4] 1> Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked for write for core collection1 [junit4:junit4] 1> at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:484) [junit4:junit4] 1> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:745) [junit4:junit4] 1> ... 3 more [junit4:junit4] 1> ERROR - 2013-04-14 16:48:20.864; org.apache.solr.handler.SnapPuller$2; Could not reload core [junit4:junit4] 1> org.apache.solr.common.SolrException: Unable to reload core: collection1 [junit4:junit4] 1> at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1432) [junit4:junit4] 1> at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1118) [junit4:junit4] 1> at org.apache.solr.handler.SnapPuller$2.run(SnapPuller.java:666) [junit4:junit4] 1> Caused by: org.apache.solr.common.SolrException: Index locked for write for core collection1 [junit4:junit4] 1> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821) [junit4:junit4] 1> at org.apache.solr.core.SolrCore.reload(SolrCore.java:408) [junit4:junit4] 1> at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1108) [junit4:junit4] 1> ... 1 more [junit4:junit4] 1> Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked for write for core collection1 [junit4:junit4] 1> at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:484) [junit4:junit4] 1> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:745) [junit4:junit4] 1> ... 3 more -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org