adarshsanjeev commented on code in PR #17775:
URL: https://github.com/apache/druid/pull/17775#discussion_r1978742809


##########
server/src/main/java/org/apache/druid/server/coordinator/loading/HttpLoadQueuePeon.java:
##########
@@ -112,23 +115,27 @@ public class HttpLoadQueuePeon implements LoadQueuePeon
 
   private final HttpLoadQueuePeonConfig config;
 
+  private final String serverName;
   private final ObjectMapper jsonMapper;
   private final HttpClient httpClient;
   private final URL changeRequestURL;
   private final String serverId;
 
   private final AtomicBoolean mainLoopInProgress = new AtomicBoolean(false);
   private final ExecutorService callBackExecutor;
+  private final CoordinatorConfigManager coordinatorConfigManager;
 
   private final ObjectWriter requestBodyWriter;
 
   public HttpLoadQueuePeon(
       String baseUrl,
+      String serverName,
       ObjectMapper jsonMapper,
       HttpClient httpClient,
       HttpLoadQueuePeonConfig config,
       ScheduledExecutorService processingExecutor,
-      ExecutorService callBackExecutor
+      ExecutorService callBackExecutor,
+      CoordinatorConfigManager coordinatorConfigManager

Review Comment:
   It can't be `Supplier<SegmentLoadingMode>` since it does need to take the 
serverName as an argument, I can change it to 
`Supplier<CoordinatorDynamicConfig>`



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