snleee commented on code in PR #9965: URL: https://github.com/apache/pinot/pull/9965#discussion_r1045443453
########## pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java: ########## @@ -72,15 +72,16 @@ public class MultiStageBrokerRequestHandler extends BaseBrokerRequestHandler { private final QueryEnvironment _queryEnvironment; private final QueryDispatcher _queryDispatcher; - public MultiStageBrokerRequestHandler(PinotConfiguration config, BrokerRoutingManager routingManager, - AccessControlFactory accessControlFactory, QueryQuotaManager queryQuotaManager, TableCache tableCache, - BrokerMetrics brokerMetrics) { - super(config, routingManager, accessControlFactory, queryQuotaManager, tableCache, brokerMetrics); + public MultiStageBrokerRequestHandler(PinotConfiguration config, String brokerIdFromConfig, + BrokerRoutingManager routingManager, AccessControlFactory accessControlFactory, + QueryQuotaManager queryQuotaManager, TableCache tableCache, BrokerMetrics brokerMetrics) { + super(config, brokerIdFromConfig, routingManager, accessControlFactory, queryQuotaManager, tableCache, + brokerMetrics); LOGGER.info("Using Multi-stage BrokerRequestHandler."); String reducerHostname = config.getProperty(QueryConfig.KEY_OF_QUERY_RUNNER_HOSTNAME); if (reducerHostname == null) { // use broker ID as host name, but remove the - String brokerId = config.getProperty(CommonConstants.Broker.CONFIG_OF_BROKER_ID); + String brokerId = brokerIdFromConfig; Review Comment: (nit) Why this one is using `brokerIdFromConfig` while everywhere else uses `brokerId`? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org