You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Sujith Sadesh <su...@8kmiles.com.INVALID> on 2020/05/02 14:00:46 UTC

Solr Autoscaling policy preferredOperation ADDREPLICA is not functioning in Metric Based Triggers

Hi Team,

I am using Solr version 7.5. The Autoscaling policy for ADDREPLICA is not functioning in Metric Based Triggers in this version. The "preferredOperation" provided was "ADDREPLICA" for a sample metric trigger(requests rate) and it wasnt functioning. However, the operation MOVEREPLICA was working as expected. Any idea why this is happening? Any help is appreciated.

Please note that I have tried the same with other triggers as well. But the issue still persisted. It works smoothly for MOVEREPLICA operation.

Trigger set :

{
"set-trigger": {
"name": "metric_trigger",
"event": "metric",
"waitFor": "5s",
"metric": "metrics:solr.jetty:org.eclipse.jetty.server.handler.DefaultHandler.requests:1minRate",
"above": 1,
"preferredOperation": "ADDREPLICA",
"collection": "mycoll"
}
}



Regards,
Sujith Sadesh


Disclaimer:This message and the information contained herein is proprietary and confidential and subject to the 8KMiles policy statement at https://8kmiles.com/Email-Disclaimer/.