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

Andrzej Bialecki  updated SOLR-11000:
-------------------------------------
    Attachment: SOLR-11000.patch

This patch introduces the following changes:
* AutoScalingConfig is now immutable, with methods to facilitate creating 
modified copies. It also better models action configs.
* some enums have been renamed for clarity. Both these and AutoScalingConfig 
bean have been moved to SolrJ.
* AutoScalingHandler now uses only AutoScalingConfig without manipulating JSON 
maps directly. It also updates ZK only once per request, even if several 
modifications were specified in the request.
* a few other places that directly manipulate JSON map of autoscaling.json have 
been replaced with AutoScalingConfig, some other still remain...

> Changes made via AutoScalingHandler should be atomic
> ----------------------------------------------------
>
>                 Key: SOLR-11000
>                 URL: https://issues.apache.org/jira/browse/SOLR-11000
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Andrzej Bialecki 
>              Labels: autoscaling
>             Fix For: 7.0
>
>         Attachments: SOLR-11000.patch
>
>
> Currently, AutoScalingHandler writes the result of each command to ZK 
> individually. So if you send 3 commands in a payload, it will write them 
> individually. We really should make it atomic so that the result of all the 
> commands are persisted together or none at all.



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

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

Reply via email to