yuluo-yx opened a new issue, #10851:
URL: https://github.com/apache/rocketmq/issues/10851

   ### Description
   
   ColdDataCgCtrService sorts configured thresholds by subtracting two long 
values and narrowing the result to int. A large threshold delta can overflow 
the comparator and place the largest threshold after smaller entries. Because 
only three groups are decelerated per cycle, the group with the highest 
threshold can be skipped.
   
   ### Expected behavior
   
   Sort thresholds with Long.compare so the three largest eligible groups are 
always processed.


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