celeborn/master/src
zwangsheng 5e6a23fd88 [CELEBORN-868][MASTER] Adjust logic of SlotsAllocator#offerSlotsLoadAware fallback to roundrobin
### 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>
2023-08-01 20:39:23 +08:00
..
main [CELEBORN-868][MASTER] Adjust logic of SlotsAllocator#offerSlotsLoadAware fallback to roundrobin 2023-08-01 20:39:23 +08:00
test [CELEBORN-846] Remove unused updateReleaseSlotsMeta in master side 2023-07-27 17:46:00 +08:00