kgyrtkirk commented on code in PR #20442:
URL: https://github.com/apache/druid/pull/20442#discussion_r4122070592


##########
server/src/main/java/org/apache/druid/client/BrokerViewOfBrokerConfig.java:
##########
@@ -64,27 +54,6 @@ public class BrokerViewOfBrokerConfig extends 
BaseBrokerViewOfConfig<BrokerDynam
   private volatile QueryConfigSnapshot querySnapshot;
 
   @Inject
-  public BrokerViewOfBrokerConfig(
-      @Json final ObjectMapper jsonMapper,
-      @EscalatedGlobal final ServiceClientFactory clientFactory,
-      @Coordinator final ServiceLocator serviceLocator,
-      final DefaultQueryConfig defaultQueryConfig
-  )
-  {
-    this.defaultQueryConfig = defaultQueryConfig;
-    this.querySnapshot = new 
QueryConfigSnapshot(QueryContext.of(defaultQueryConfig.getContext()).asMap(), 
null);
-    this.coordinatorClient =
-        new CoordinatorClientImpl(
-            clientFactory.makeClient(
-                NodeRole.COORDINATOR.getJsonName(),
-                serviceLocator,
-                StandardRetryPolicy.builder().maxAttempts(15).build()
-            ),
-            jsonMapper
-        );
-  }
-
-  @VisibleForTesting
   public BrokerViewOfBrokerConfig(
       final CoordinatorClient coordinatorClient,

Review Comment:
   if it didn't worked for 6 times - it won't work after 15 either... it was 
most likely just randomly baked in....
   but if someone wants to configure 15 - he could do that after this change
   
   



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