Skip to content

Commit

Permalink
branch-2.1: [improve](routine load) ensure load balance after scaling…
Browse files Browse the repository at this point in the history
… up BE nodes #44693 (#44799)

Cherry-picked from #44693

Co-authored-by: hui lai <[email protected]>
  • Loading branch information
github-actions[bot] and sollhui authored Dec 2, 2024
1 parent 54e2249 commit 8843b17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ public long getAvailableBeForTask(long jobId, long previousBeId) throws LoadExce
// check if be has idle slot
readLock();
try {
updateBeIdToMaxConcurrentTasks();
Map<Long, Integer> beIdToConcurrentTasks = getBeCurrentTasksNumMap();
int previousBeIdleTaskNum = 0;

Expand Down

0 comments on commit 8843b17

Please sign in to comment.