yashmayya commented on code in PR #13544: URL: https://github.com/apache/pinot/pull/13544#discussion_r1677943061
########## pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java: ########## @@ -448,6 +448,14 @@ protected BrokerResponse handleRequest(long requestId, String query, @Nullable S } // Validate QPS quota + String database = DatabaseUtils.extractDatabaseFromTableName(tableName); + if (!_queryQuotaManager.acquireDatabase(database)) { + String errorMessage = + String.format("Request %d: %s exceeds query quota for database: %s", requestId, query, database); + LOGGER.info(errorMessage); Review Comment: Whoops, missed that, my bad. -- 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