You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "chrajeshbabu (via GitHub)" <gi...@apache.org> on 2025/03/04 11:46:21 UTC

[I] Broker list fetching API in PinotConnection is fetching dead servers as well which leads to query failures sometimes [pinot]

chrajeshbabu opened a new issue, #15187:
URL: https://github.com/apache/pinot/issues/15187

   Some times the query running from the JDBC driver are failing because of broker list fetching is listing all the servers even the dead servers we should limit to fetch only online brokers so we need to pass the state ONLINE while calling broker list to controller.
   
   `  public ControllerTenantBrokerResponse getBrokersFromController(String controllerAddress, String tenant) {
       try {
         String url = _scheme + "://" + controllerAddress + "/v2/brokers/tenants/" + tenant;
         BoundRequestBuilder requestBuilder = _httpClient.prepareGet(url);
         if (_headers != null) {
           _headers.forEach((k, v) -> requestBuilder.addHeader(k, v));
         }`


-- 
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-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] Broker list fetching API in PinotConnection is fetching dead servers as well which leads to query failures sometimes [pinot]

Posted by "chrajeshbabu (via GitHub)" <gi...@apache.org>.
chrajeshbabu commented on issue #15187:
URL: https://github.com/apache/pinot/issues/15187#issuecomment-2738828131

   Thanks @Jackie-Jiang for merging the PR. Closing.


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] Broker list fetching API in PinotConnection is fetching dead servers as well which leads to query failures sometimes [pinot]

Posted by "chrajeshbabu (via GitHub)" <gi...@apache.org>.
chrajeshbabu closed issue #15187: Broker list fetching API in PinotConnection is fetching dead servers as well which leads to query failures sometimes
URL: https://github.com/apache/pinot/issues/15187


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org