kiruphabalu opened a new pull request, #14029:
URL: https://github.com/apache/pinot/pull/14029

   Ranking servers that respond with exceptions lower by setting their latency 
to timeout.
   
   - Currently if server response has exceptions they are not considered and 
the latency is set to time taken to receive response. This potentially ranks 
servers with underlying hardware or other issues higher.
   - With this change, the response from server is parsed and if there are 
server side exceptions the latency of the server is set to max as timeout ms. 
This will rank the server lower than healthy servers.
   
   Unit test cases
   
   - Response with no exception will have latency set to response time
   - Response with client exceptions will have latency set to response time
   - Response with at least one server exception will have latency set to 
timeout ms  
   


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