XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1, 8.0
    • SolrCloud

    Description

      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.

      Examples:

      Suspend the 'node_lost_trigger' until an explicit resume_trigger API is called:

      curl -H 'Content-type:application/json' -d '{
      	"suspend-trigger" : {
      		"name" : "node_lost_trigger"
      	}
      }' http://localhost:8983/solr/admin/autoscaling
      

      Suspend all triggers until resumed by an explicit resume_trigger API call:

      curl -H 'Content-type:application/json' -d '{
      	"suspend-trigger" : {
      		"name" : "#EACH"
      	}
      }' http://localhost:8983/solr/admin/autoscaling
      

      Suspend all triggers for 1 hour:

      curl -H 'Content-type:application/json' -d '{
      	"suspend-trigger" : {
      		"name" : "#EACH"
      		"timeout" : "1h"
      	}
      }' http://localhost:8983/solr/admin/autoscaling
      

      Attachments

        1. SOLR-10358.patch
          15 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: