1996fanrui commented on PR #21540:
URL: https://github.com/apache/flink/pull/21540#issuecomment-1362490165

   > I think even before this PR, the sort order is also the desc by default. 
@yuchen-ecnu could you also take a look at this PR?
   
   Thanks for your feedback, the `sortByBusyRatio` is `a - b`, so it's 
ascending order by default, and I have tested it's really ascending order. 
Please @yuchen-ecnu  help double check, thanks~
   
   ```
     sortByBusyRatio(a: JobBackpressureSubtask, b: JobBackpressureSubtask): 
number {
       return a.busyRatio - b.busyRatio;
     }
   ```


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