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

Andrzej Bialecki commented on SOLR-14486:
-----------------------------------------

I changed the implementation so that it maintains individual collection states 
and their versions, and maintains corresponding /state.json files. This 
actually makes the caching and locking behavior in {{SimClusterStateProvider}} 
easier to understand - and it also keeps the state in pseudo-ZK exactly as if 
it was created by real Solr.

> Autoscaling simulation framework should stop using /clusterstate.json
> ---------------------------------------------------------------------
>
>                 Key: SOLR-14486
>                 URL: https://issues.apache.org/jira/browse/SOLR-14486
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Andrzej Bialecki
>            Assignee: Andrzej Bialecki
>            Priority: Major
>             Fix For: master (9.0)
>
>
> Spin-off from SOLR-12823.
> In theory the simulation framework doesn't actually use this file, but 
> {{SimClusterStateProvider}} relies on its versioning to keep its internal 
> data structures in sync. This should be changed to use individual 
> DocCollection / state.json znodeVersion instead.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to