Jackie-Jiang commented on code in PR #9808:
URL: https://github.com/apache/pinot/pull/9808#discussion_r1030829019


##########
pinot-broker/src/main/java/org/apache/pinot/broker/api/resources/PinotBrokerDebug.java:
##########
@@ -157,4 +163,8 @@ public Map<ServerInstance, List<String>> 
getRoutingTableForQuery(
   public String getServerRoutingStats() {
     return _serverRoutingStatsManager.getServerRoutingStatsStr();
   }
+
+  private int getRequestId() {
+    return (int) (_requestIdGenerator.getAndIncrement() % MAX_REQUEST_ID);

Review Comment:
   I don't think we need to limit the max request id here. It is done in the 
`InstanceSelector`



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

Reply via email to