You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/06/23 16:41:01 UTC

[jira] [Comment Edited] (SOLR-7132) The Collections API ADDREPLICA command property.name is not reflected in the clusterstate until after Solr restarts

    [ https://issues.apache.org/jira/browse/SOLR-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597743#comment-14597743 ] 

Varun Thacker edited comment on SOLR-7132 at 6/23/15 2:40 PM:
--------------------------------------------------------------

Hi Erick,

Yes we could also disallow "property.name" but this is my thinking currently. We have deprecated the name method for Solr 5.3 in SOLR-7499. We can remove it in Solr 5.4 . We don't make any changes to disallow "property.name" so that expert users who really have a use case of specifying the core name can use this method? 

We can still fix the bug that it only changes the name on a restart and not while creation.  What do you think?


was (Author: varunthacker):
Hi Eric,

Yes we could also disallow "property.name" but this is my thinking currently. We have deprecated the name method for Solr 5.3 in SOLR-7499. We can remove it in Solr 5.4 . We don't make any changes to disallow "property.name" so that expert users who really have a use case of specifying the core name can use this method? 

We can still fix the bug that it only changes the name on a restart and not while creation.  What do you think?

> The Collections API ADDREPLICA command property.name is not reflected in the clusterstate until after Solr restarts
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7132
>                 URL: https://issues.apache.org/jira/browse/SOLR-7132
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.1, Trunk
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>
> If you do an ADDREPLICA command with &property.name=nonsense then go look at clusterstate.json, you'll see the default name for the replica. But if you then restart Solr, you see the name you specified on the create command, which is a bit confusing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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