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

   ### What changes were proposed in this PR?
   - LinkedBlockingMultiQueue.add_sub_queue inserts a new priority group at the 
computed index i instead of appending it, so priority_groups stays sorted and 
get_next/peek serve higher-priority sub-queues first regardless of registration 
order.
   ### Any related issues, documentation, discussions?
   Closes: #9583
   ### How was this PR tested?
   - Run `cd amber && PYTHONPATH=src/main/python python -m pytest 
src/test/python/core/util/customized_queue/test_linked_blocking_multi_queue.py`;
 expect all passing, including a new case that registers the lower-priority 
queue first and asserts the groups are ordered by priority and the 
higher-priority item is served first.
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 in compliance with ASF
   


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