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 Yuan Zhao wrote:
> Hi Team,
>
> I came across a strange behavior:
> When
Hi Team,
I came across a strange behavior:
When I use the default cluster policy like:
```
{
"cluster-preferences":[
{
"minimize":"cores",
"precision":1},
{"maximize":"freedisk"}],
"triggers":{".auto_add_replicas":{
"name":".auto_add_replicas",
"event":"nodeLost