Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: SolrCloud
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:

      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: