You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2013/11/27 19:57:37 UTC

[jira] [Updated] (SOLR-5510) genericCoreNodeNames="${genericCoreNodeNames:false}" and old style solr.xml fails to create collection

     [ https://issues.apache.org/jira/browse/SOLR-5510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-5510:
-----------------------------

    Summary: genericCoreNodeNames="${genericCoreNodeNames:false}" and old style solr.xml fails to create collection  (was: genericCoreNodeNames="${genericCoreNodeNames:true}" and old style solr.xml fails to create collection)

> genericCoreNodeNames="${genericCoreNodeNames:false}" and old style solr.xml fails to create collection
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5510
>                 URL: https://issues.apache.org/jira/browse/SOLR-5510
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>
> See this for some more details https://gist.github.com/serba/1fe113e78ae7e01a4f58
> This is a regression caused by SOLR-5311
> There are two reasons why a core does not have a reference in clusterstate
> # It is starting up for the first time (core creation)
> # Somebody invoked a DELETEREPLICA when the node itself was down
> we neded to differentiate these two because for 1) the registration should succeed and for #2 the registration should fail
> The only way to do that was to check for the presence of the attribute coreNodeName in the core.properties. In case #1 it would be absent and in case#2 it would be present
> but when genericCoreNodeNames="${genericCoreNodeNames:false}"
> ZkController#getCoreNodeName(getCoreNodeName) behaves similarly for both the cases and hence the failure



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org