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

   I think I finally found why the test was failing. It was due to a `cmp >= 0` 
assertion that should be `cmp <= 0`. The reason that made it very hard to find 
the problem is that `BaseCombineOperator` is not prepared to catch `Errors`, so 
the task at the server just failed without printing any log and as a result the 
broker didn't receive a response, so the error shown in the broker was that 
some server didn't answer.
   
   Things to know about:
   - Pinot may not log `AssertionErrors`, so it is better to do not use 
`assert` expressions
   - We may or may not want to log in case we receive an error. As I don't know 
what do we want to do in that case, I've just changed my code to throw an 
`ArgumentException`.


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