Hi Team,
We are using autoscaling policy, we make use of the utilize node feature to
move replica to new nod.
But we found after replica are moved, solr can make sure the repilica
belongs to a same shard located
on different nodes, but it can not make sure shard distributed evenly on
all the
Sorry for the interruption. The policy I use is wrong. It should be :
"set-cluster-policy" : [{
"replica" : "<2",
"shard" : "#EACH",
"node" : "#ANY",
}]
}'
It works pretty well now.
On Mon, Nov 4, 2019 at 10:53 AM Y
uot;,
"class":"solr.ExecutePlanAction"}],
"enabled":true},
"node_added_trigger":{
"preferredOperation":"ADDREPLICA",
"event":"nodeAdded",
"waitFor":5,
"actions":[
{
"name":"compute_plan",
"class":"solr.ComputePlanAction"},
{
"name":"execute_plan",
"class":"solr.ExecutePlanAction"}],
"enabled":true}},
"listeners":{
".auto_add_replicas.system":{
"trigger":".auto_add_replicas",
"afterAction":[],
"stage":[
"STARTED",
"ABORTED",
"SUCCEEDED",
"FAILED",
"BEFORE_ACTION",
"AFTER_ACTION",
"IGNORED"],
"class":"org.apache.solr.cloud.autoscaling.SystemLogListener",
"beforeAction":[]},
"node_added_trigger.system":{
"beforeAction":[],
"afterAction":[],
"trigger":"node_added_trigger",
"stage":[
"STARTED",
"ABORTED",
"SUCCEEDED",
"FAILED",
"BEFORE_ACTION",
"AFTER_ACTION",
"IGNORED"],
"class":"org.apache.solr.cloud.autoscaling.SystemLogListener"}},
"properties":{}}
```
My solr version is 7.3. Do I use it in a wrong way?
--
Thanks & regards,
Yuan Zhao