Aias00 opened a new pull request, #10779:
URL: https://github.com/apache/rocketmq/pull/10779

   ### What changed
   
   - Skip empty priority groups when selecting the least-penalty message queue.
   - Return `null` when all priority groups are empty, matching the existing 
`selectLeastPenalty()` empty-list contract.
   - Add regression coverage for both all-empty and partially-empty priority 
group inputs.
   
   Fixes #10778.
   
   ### Verification
   
   `mvn -pl proxy -Dtest=MessageQueuePenalizerTest test`
   
   Result: BUILD SUCCESS. `MessageQueuePenalizerTest` ran 23 tests with 0 
failures, errors, or skips. Checkstyle and SpotBugs also passed in the Maven 
run.
   


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