The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/roundrobin-partitioner-skip has succeeded.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
ad3c39cc0aa24008fb3db45f2e5d22b5c36b28c5 / Matthew Ball <[email protected]>
perf(amber): round-robin partitioner even distribution

RoundRobinPartitioner.getBucketIndex incremented roundRobinIndex before 
emitting it, so starting from 0 the first tuple went to receiver 1 and receiver 
0 was skipped until the second cycle; it also threw ArithmeticException on an 
empty receiver set. getBucketIndex now emits the current index and then 
advances, cycling from receiver 0, and returns an empty iterator when there are 
no receivers.

PartitionersSpec flips the cycle expectation to start at 0 and adds a case 
asserting an empty receiver set yields no bucket index.

Report URL: https://github.com/apache/texera/actions/runs/44833269190

With regards,
GitHub Actions via GitBox

Reply via email to