lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-6422) DELETEREPLICA exposes an inconsistent param REPLICA_PROP
Date Mon, 01 Sep 2014 21:02:20 GMT

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

Shalin Shekhar Mangar updated SOLR-6422:
----------------------------------------
    Remaining Estimate: 24h
     Original Estimate: 24h

> DELETEREPLICA exposes an inconsistent param REPLICA_PROP
> --------------------------------------------------------
>
>                 Key: SOLR-6422
>                 URL: https://issues.apache.org/jira/browse/SOLR-6422
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.10
>         Environment: Ubuntu 14.04
>            Reporter: Ralph Tice
>            Priority: Minor
>              Labels: difficulty-easy, impact-medium, workaround-exists
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> DELETEREPLICA asks for the ZK "shard id" (core_node_###) instead of the same syntax as
createNodeSet?  I can't recall any other instance in which the ZK "shard id" is exposed via
query parameter and I've only ever seen it in clusterstate.json / CLUSTERSTATUS calls.
> For ease of use I humbly suggest that the API be amended to take the same parameters
are ADDREPLICA and use either base_url or core_node_name.
> Specifically, instead of REPLICA_PROP here https://github.com/apache/lucene-solr/blob/branch_4x/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java#L64
> it would be more consistent to request a query param of the form: https://github.com/apache/lucene-solr/blob/branch_4x/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java#L58

> or: https://github.com/apache/lucene-solr/blob/branch_4x/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java#L56
> Also it appears DELETEREPLICA is missing from https://github.com/apache/lucene-solr/blob/branch_4x/solr/solrj/src/java/org/apache/solr/common/params/CollectionParams.java



--
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


Mime
View raw message