mirror of https://github.com/apache/druid.git
Update Rule-Configuration: match example with description
The example JSON snippets of the 'loadForever' and the 'dropForever' don't match their description, the 'type' description mentions 'loadByInterval' and 'dropByPeriod' respectively.
This commit is contained in:
parent
00806ba836
commit
06e4535cb8
|
@ -27,7 +27,7 @@ Forever load rules are of the form:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `type` - this should always be "loadByInterval"
|
* `type` - this should always be "loadForever"
|
||||||
* `tieredReplicants` - A JSON Object where the keys are the tier names and values are the number of replicas for that tier.
|
* `tieredReplicants` - A JSON Object where the keys are the tier names and values are the number of replicas for that tier.
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ Forever drop rules are of the form:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `type` - this should always be "dropByPeriod"
|
* `type` - this should always be "dropForever"
|
||||||
|
|
||||||
All segments that match this rule are dropped from the cluster.
|
All segments that match this rule are dropped from the cluster.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue