shalinmangar commented on a change in pull request #1382: SOLR-12720 Remove 
autoReplicaFailoverWaitAfterExpiration
URL: https://github.com/apache/lucene-solr/pull/1382#discussion_r398972311
 
 

 ##########
 File path: solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc
 ##########
 @@ -205,11 +205,30 @@ to add replicas on the live nodes to maintain the 
expected replication factor).
 
 Refer to the section 
<<solrcloud-autoscaling-auto-add-replicas.adoc#solrcloud-autoscaling-auto-add-replicas,
 Autoscaling Automatically Adding Replicas>> to learn more about how the 
`.autoAddReplicas` trigger works.
 
-In addition to the parameters described at <<Trigger Configuration>>, this 
trigger supports one parameter, which is defined in the `<solrcloud>` section 
of `solr.xml`:
-
-`autoReplicaFailoverWaitAfterExpiration`::
-The minimum time in milliseconds to wait for initiating replacement of a 
replica after first noticing it not being live. This is important to prevent 
false positives while stopping or starting the cluster. The default is `120000` 
(2 minutes). The value provided for this parameter is used as the value for the 
`waitFor` parameter in the `.auto_add_replicas` trigger.
+If you would like to change the value of `.autoAddReplicas` trigger, you need 
to call the autoscaling API and use the `set-trigger` command to add a value 
for `waitFor`.
 
+.Example: Updating Trigger with wait for 5 seconds
+}
+----
+{
+ "set-trigger": {
+  "name": "name_of_auto_add_trigger",
 
 Review comment:
   The name of the trigger is always `.auto_add_replicas`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to