carloea2 opened a new pull request, #8246:
URL: https://github.com/apache/texera/pull/8246

   ## What changed
   
   Range shuffle now divides its key range by the deduplicated receiver count 
used for routing. Repeated topology channels therefore cannot produce an index 
beyond the receiver list.
   
   Closes #8245
   
   ## How was this PR tested?
   
   ```text
   python -c "import sys,pytest; 
sys.path[:0]=[r'C:\Users\carlo\texera\texera-worktrees\investigate-bug59\amber\src\main\python',r'C:\Users\carlo\texera\texera\amber\src\main\python'];
 raise 
SystemExit(pytest.main(['amber/src/test/python/core/architecture/sendsemantics/test_partitioners.py','-q','-p','no:cacheprovider']))"
   36 passed
   
   ruff check amber/src/main/python amber/src/test/python
   All checks passed
   
   ruff format --check amber/src/main/python amber/src/test/python
   213 files already formatted
   ```
   
   Direct reproduction after the fix:
   
   ```text
   receivers=2 keys_per_receiver=5 index_for_9=1 target=B
   ```
   
   Generated-by: Codex


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

Reply via email to