carloea2 opened a new issue, #8245: URL: https://github.com/apache/texera/issues/8245
### Current behavior Range shuffle deduplicates downstream receivers but divides the key range by the original channel count. Repeated topology channels can therefore produce a receiver index beyond the deduplicated receiver list and crash on a valid key. Before: four channels to two unique receivers compute index 3 and raise IndexError After: the range uses two unique receivers and routes the maximum key to receiver B ### Steps to reproduce On `50321e403c82df299a13deb50a7f9849dd93bdba`, configure range 0 through 9 with channels to A, A, A, and B, then route key 9. Observed result: ```text channels=4 receivers=2 keys_per_receiver=3 index_for_9=3 IndexError: list index out of range ``` ### Expected behavior Range calculation should use the same unique receiver list used for routing, so every valid key maps to an existing receiver. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
