-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
0 / 10 of 1 issue completedLabels
multi-stageRelated to the multi-stage query engineRelated to the multi-stage query engineobservabilityparent-issuequeryuser-experienceRelated to user experienceRelated to user experience
Description
Error handling and reporting can be improved in Pinot. Sometimes, error messages are not easy for users to understand, and the fact that each query engine notifies errors differently makes it even more confusing. Here is a nonexclusive list of improvements we need to apply:
- On errors, Pinot controller query endpoints inconsistently return broker-like JSON error payloads (if the broker detects the error) or plain text (if the controller itself detected the error. Fixed in Cleanup controller and MSE broker entry points to keep error codes an… #15277
- The Pinot controller detected errors are not logged. Fixed in Cleanup controller and MSE broker entry points to keep error codes an… #15277
- MSE errors include the stack trace.
- MSE errors don't include the actual error code. Instead, error code 200 is always returned. Fixed in Cleanup controller and MSE broker entry points to keep error codes an… #15277
- MSE errors are logged several times in the same server.
- MSE checks and SSE checks are different. Some are copied and pasted in both places, but some constraints are enforced differently.
- MSE doesn't check if tables are disabled
- Introduce a correlation ID to track logs related to the same query. This ID may be defined by the customer (otherwise, it uses the initial request ID) and can be introduced in logs Query thread context and cid #15180
- Cleanup exception classes Refactor query error handling to use QueryErrorCode and QueryErrorMessage for improved clarity and consistency #15037
Sub-issues
Metadata
Metadata
Assignees
Labels
multi-stageRelated to the multi-stage query engineRelated to the multi-stage query engineobservabilityparent-issuequeryuser-experienceRelated to user experienceRelated to user experience