Skip to content

Commit

Permalink
add log on coreMap update (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andyz26 authored Dec 14, 2023
1 parent 1504bd0 commit 4763ca7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ private boolean tryMarkAvailable(TaskExecutorID taskExecutorID, TaskExecutorStat
log.debug("Marking executor {} as available for matching.", teHolder);
double cpuCores = state.getRegistration().getMachineDefinition().getCpuCores();
if (!this.executorByCores.containsKey(cpuCores)) {
log.info("[executorByCores] adding {} from TE: {}", cpuCores, teHolder);
this.executorByCores.putIfAbsent(
cpuCores,
new TreeSet<>(TaskExecutorHolder.generationFirstComparator));
Expand Down

0 comments on commit 4763ca7

Please sign in to comment.