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

Varun Thacker commented on SOLR-11586:
--------------------------------------

[~noble.paul] if no stateFormat param is provided , the create collection code 
explicitly sets stateFormat to 2 . The restore API code wasn't doing this so 
the restored collection was getting created in /clusterstate.json . Should we 
change the default behaviour to use stateFormat=2 if the param is not provided? 
Offcourse it needs to be another Jira but any reason for not dong so?

> Restored collection uses stateFormat=1 instead of 2
> ---------------------------------------------------
>
>                 Key: SOLR-11586
>                 URL: https://issues.apache.org/jira/browse/SOLR-11586
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>
> In SOLR-11560 I noticed that the restored collection is using stateFormat=1 . 
> It should be creating the collection with stateFormat=2 which would mean the 
> collection should be residing under 
> {{"/collections/collection_name/state.json}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to