- Replace float64 ratio comparison with integer-only load ratio math to avoid floating-point precision issues. - Collect all equal-ratio candidates and rotate via lastSelectedSlot so equally loaded providers do not pin to a single provider. - Add loadRatioLess and loadRatioEqual helper functions. - Track lastSelectedSlot in admit and tryDispatchLocked paths. |
||
|---|---|---|
| .. | ||
| client | ||
| control-plane | ||
| edge | ||
| node | ||
| worker | ||