lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11000) Changes made via AutoScalingHandler should be atomic
Date Wed, 12 Jul 2017 20:12:00 GMT

     [ 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

Updated patch:
* moved {{getAutoScalingConfig()}} from {{ZkController}} to {{ZkStateReader}}, and add a version
where you can set a Watcher.
* convert a few other uses of JSON maps so that they use AutoScalingConfig.

> 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, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message