shounakmk219 commented on code in PR #13544: URL: https://github.com/apache/pinot/pull/13544#discussion_r1697927101
########## pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BrokerResourceOnlineOfflineStateModelFactory.java: ########## @@ -81,6 +82,8 @@ public void onBecomeOnlineFromOffline(Message message, NotificationContext conte TableConfig tableConfig = ZKMetadataProvider.getTableConfig(_propertyStore, tableNameWithType); _queryQuotaManager.initOrUpdateTableQueryQuota(tableConfig, _helixDataAccessor.getProperty(_helixDataAccessor.keyBuilder().externalView(BROKER_RESOURCE_INSTANCE))); + _queryQuotaManager.createDatabaseRateLimiter( Review Comment: Keeping the entry point of create and update flows separate to avoid unnecessary re-computation of broker quota in create flow if the rate limiter already exist. -- 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