lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lvchuanwen (JIRA)" <>
Subject [jira] [Created] (SOLR-8905) AutoAddReplicas feature has bug that local coreproperties file was deleted by mistake
Date Fri, 25 Mar 2016 07:15:25 GMT
lvchuanwen created SOLR-8905:

             Summary: AutoAddReplicas feature has bug that local coreproperties file was deleted
by mistake
                 Key: SOLR-8905
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.10.3
            Reporter: lvchuanwen
            Priority: Critical

when A solr instance crash,B solr instance take over A's core failed .B solr instance cant
to create coreproperties file.
The same time A solr instance startup ,remove local corePropertiesLocator,for the solr cluster,
the coreproperties file  is missing.

B solr instance TEST_shard2_replica1 log:

2016-03-23 10:09:48,683 INFO org.apache.solr.handler.admin.CoreAdminHandler: core create command
2016-03-23 10:11:18,993 ERROR org.apache.solr.core.SolrCore: org.apache.solr.common.SolrException:
Error CREATEing SolrCore 'TEST_shard2_replica1': Unable to create core [TEST_shard2_replica1]
Caused by: KeeperErrorCode = Session expired for /configs/TEST/solrconfig.xml

A solr instance TEST_shard2_replica1 log:
2016-03-23 10:11:53,873 INFO org.apache.solr.core.CoresLocator: Looking for core definitions
underneath /var/lib/solr
2016-03-23 10:11:53,884 INFO org.apache.solr.core.CoresLocator: Found core TEST_shard2_replica1
in /var/lib/solr/TEST_shard2_replica1/
2016-03-23 10:11:53,885 INFO org.apache.solr.core.CoresLocator: Found 1 core definitions
2016-03-23 10:11:53,904 ERROR
org.apache.solr.common.SolrException: Will not load SolrCore TEST_shard2_replica1 because
it has been replaced due to failover.
        at org.apache.solr.core.CoreContainer$
        at org.apache.solr.core.CoreContainer$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$


      SolrCore core = coreContainer.create(dcore);//throw Exception ,coreproperties create
      // only write out the descriptor if the core is successfully created
      coreContainer.getCoresLocator().create(coreContainer, dcore);

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message