You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "gortiz (via GitHub)" <gi...@apache.org> on 2023/08/28 10:23:41 UTC

[GitHub] [pinot] gortiz commented on pull request #11440: Return better error info when no servers instances can be found in mu…

gortiz commented on PR #11440:
URL: https://github.com/apache/pinot/pull/11440#issuecomment-1695433829

   @Jackie-Jiang I don't understand how do you propose to make the message more crisp. How do you know, in pinot-`MultiStageBrokerRequestHandler` (or `QueryEnvironment`) the actual error reason? The only way I think we have is to parse the message of the exception (looking for something that starts with `Failed to find enabled fully replicated server for table:`), which seems like a very bad idea. Is there something I'm missing?
   
   Remember that we don't just want to change the error message, we also want to provide a more specific error code. In my example we return 715 instead of the generic 150.
   
   Do you propose to include the exception trace or not?
   


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