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

Erick Erickson commented on SOLR-12823:
---------------------------------------

Sounds like you're on top of it. Yeah, updating all the places 
clusterstate.json is referenced is certainly a big enough bite for one JIRA....

Many thanks for tackling this.

Responding to your note from two days ago, I don't think an explicit command to 
remove clusterstate.json is necessary. If it hangs around forever, so be it. If 
anyone really wants to remove it,

{code}
bin/solr zk rm /clusterstate.json
{code}

should do it. And it seems safe to remove it in Solr 9 on startup if it's 
empty, in which case there it'd be very convoluted for it to be around and 
using bin/solr to remove it doesn't seem onerous.

> remove clusterstate.json in Lucene/Solr 8.0
> -------------------------------------------
>
>                 Key: SOLR-12823
>                 URL: https://issues.apache.org/jira/browse/SOLR-12823
>             Project: Solr
>          Issue Type: Task
>            Reporter: Varun Thacker
>            Priority: Major
>
> clusterstate.json is an artifact of a pre 5.0 Solr release. We should remove 
> that in 8.0
> It stays empty unless you explicitly ask to create the collection with the 
> old "stateFormat" and there is no reason for one to create a collection with 
> the old stateFormat.
> We should also remove the "stateFormat" argument in create collection
> We should also remove MIGRATESTATEVERSION as well
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to