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

Vamsee Yarlagadda commented on SOLR-7124:
-----------------------------------------

bq. It would not be required on upconfig, because upconfig will not delete any 
files from an existing config, it will only add or overwrite.
You are right. I am not aware of this. I was under the impression that it will 
throw an error if config already exists. However as you pointed out, it will 
not delete any files as part of this operation. But there is a chance that we 
can end up with a mix of both old and new configs. Let's say if the old config 
has a file foo.txt and the new config is missing it then the updated configs in 
ZK contains all the files from new config + foo.txt. I am not sure whether this 
is a separate bug we need to fix.

bq. A slightly different check (making sure the config actually exists) might 
need to be performed for linkconfig.
Makes sense.

> Add "delconfig" command to zkcli
> --------------------------------
>
>                 Key: SOLR-7124
>                 URL: https://issues.apache.org/jira/browse/SOLR-7124
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>    Affects Versions: 5.0
>            Reporter: Shawn Heisey
>            Priority: Minor
>             Fix For: 5.1
>
>
> As far as I know, there is no functionality included with Solr that can 
> delete a SolrCloud config in zookeeper.
> A "delconfig" command should be added to ZkCli and the zkcli script that can 
> accomplish this.  It should refuse to delete a config that is in use by any 
> current collection.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to