Commit 1c1ec56
committed
rebalance: use -metrics-per-second for reset
Before this change, if go-carbon health check is enabled, when go-carbon cache.size overflows, buckytools
reset sync speed to 1 metrics-per-second and there is no way to adjust it. This is not ideal if a go-carbon
box always has cache.size limit over the safty threshold due to file system fragmentation or aging ssd.
With this change, it allows to have an adjustable minimum sync speed.1 parent 9f5b3dc commit 1c1ec56
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
0 commit comments