Ma77Ball opened a new issue, #9584:
URL: https://github.com/apache/texera/issues/9584

   ### What happened?
   The round-robin partitioner does not deal tuples evenly: it skips receiver 0 
on the first cycle (the first tuple goes to receiver 1), and it throws 
ArithmeticException when there are no receivers.
   ### How to reproduce?
   Run a workflow whose edge uses round-robin partitioning across multiple 
downstream workers; the first tuple is sent to the second receiver and receiver 
0 only starts receiving on the second cycle. In code, 
RoundRobinPartitioner.getBucketIndex increments roundRobinIndex before emitting 
it (so it starts at 1) and computes % receivers.length with no guard for an 
empty receiver set.
   ### Version/Branch
   main


-- 
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]

  • [I] Round-robin partitioner sk... Ma77Ball (via GitHub) via notifications

Reply via email to