celeborn/master
Xianming Lei d2befe0334 [CELEBORN-2008] SlotsAllocator should select disks randomly in RoundRobin mode
### What changes were proposed in this pull request?
SlotsAllocator should select disks randomly in RoundRobin mode

### Why are the changes needed?
The current round robin selection mechanism is to select the first disk of each worker first, then the second disk of each worker, and finally the third disk. This can easily cause disk storage space skew. We should select disks randomly instead of selecting the first disk first.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Existing UTs.

Closes #3275 from leixm/CELEBORN-2008.

Authored-by: Xianming Lei <xianming.lei@shopee.com>
Signed-off-by: Wang, Fei <fwang12@ebay.com>
2025-05-22 17:18:42 -07:00
..
src [CELEBORN-2008] SlotsAllocator should select disks randomly in RoundRobin mode 2025-05-22 17:18:42 -07:00
pom.xml [CELEBORN-1994] Introduce disruptor dependency to support asynchronous logging of log4j2 2025-05-13 19:45:51 +08:00