xunliu commented on PR #7595:
URL: https://github.com/apache/gravitino/pull/7595#issuecomment-3047277735

   hi @NithishKumar-13, 
   
   I think this is a mistaken logic.
   
   if we limit ` i <= portRangeEnd && i < portRangeStart + maxRetry`, then we 
only get the port range in the [portRangeStart, portRangeStart+200], we need to 
get the port range in the [portRangeStart, portRangeEnd].
   
   ```
       for (int i = portRangeStart; i <= portRangeEnd && i < portRangeStart + 
maxRetry; ++i) {
   ```
   


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

Reply via email to