Commit 2fa4862
committed
issue #75: improve cache replicas selection logic
1 node -> 1 replica
2, 3, 4 nodes -> 2 replicas
5 nodes -> 3 replicas
6, 7 nodes -> 4 replicas
...
Signed-off-by: Matteo Cafasso <[email protected]>1 parent 18251f9 commit 2fa4862
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
226 | 231 | | |
227 | 232 | | |
228 | 233 | | |
| |||
0 commit comments