nozjkoitop commented on code in PR #16889:
URL: https://github.com/apache/druid/pull/16889#discussion_r1778183067


##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/ImmutableWorkerInfo.java:
##########
@@ -160,6 +180,12 @@ public int getCurrParallelIndexCapacityUsed()
     return currParallelIndexCapacityUsed;
   }
 
+  @JsonProperty("currCapacityUsedByTaskType")
+  public Map<String, Integer> getCurrCapacityUsedByTaskType()

Review Comment:
   Done



##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/config/WorkerTaskRunnerConfig.java:
##########
@@ -29,14 +34,17 @@ public class WorkerTaskRunnerConfig
   @JsonProperty
   private double parallelIndexTaskSlotRatio = 1;
 
+  @JsonProperty
+  private Map<String, @Min(value = 0, message = "Task slot ratio for must be 
at least 0.") @Max(value = 1, message = "Task slot ratio cannot be greater than 
1") Double> taskSlotRatiosPerWorker = new HashMap<>();

Review Comment:
   Validation removed



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to