### What changes were proposed in this pull request? Fallback in following order: 1. usableDisks is empty (no need to call iter) 2. under replicate case, first usableDisks == 1 fast fallback 3. count distinct worker ### Why are the changes needed? Clear about the logic here ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Unit Test Closes #1781 from zwangsheng/CELEBORN-868. Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||