You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2017/09/20 23:22:00 UTC
[jira] [Updated] (SOLR-10358) Implement suspend-trigger and
resume-trigger APIs
[ https://issues.apache.org/jira/browse/SOLR-10358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-10358:
-----------------------------------------
Fix Version/s: (was: 7.0)
7.1
master (8.0)
> Implement suspend-trigger and resume-trigger APIs
> -------------------------------------------------
>
> Key: SOLR-10358
> URL: https://issues.apache.org/jira/browse/SOLR-10358
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Labels: autoscaling
> Fix For: master (8.0), 7.1
>
> Attachments: SOLR-10358.patch
>
>
> There are times when the user wants to pause execution of the autoscaling policies because he/she is performing some maintenance tasks. A cluster wide command can be used to suspend the triggers indefinitely or for a specific amount of time.
> h3. Examples:
> Suspend the 'node_lost_trigger' until an explicit resume_trigger API is called:
> {code}
> curl -H 'Content-type:application/json' -d '{
> "suspend-trigger" : {
> "name" : "node_lost_trigger"
> }
> }' http://localhost:8983/solr/admin/autoscaling
> {code}
> Suspend all triggers until resumed by an explicit resume_trigger API call:
> {code}
> curl -H 'Content-type:application/json' -d '{
> "suspend-trigger" : {
> "name" : "#EACH"
> }
> }' http://localhost:8983/solr/admin/autoscaling
> {code}
> Suspend all triggers for 1 hour:
> {code}
> curl -H 'Content-type:application/json' -d '{
> "suspend-trigger" : {
> "name" : "#EACH"
> "timeout" : "1h"
> }
> }' http://localhost:8983/solr/admin/autoscaling
> {code}
--
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