Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment