druid/indexing-service/src
Kashif Faraz 6e158704cb
Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271)
Changes
- Add a `DruidException` which contains a user-facing error message, HTTP response code
- Make `EntryExistsException` extend `DruidException`
- If metadata store max_allowed_packet limit is violated while inserting a new task, throw
`DruidException` with response code 400 (bad request) to prevent retries
- Add `SQLMetadataConnector.isRootCausePacketTooBigException` with impl for MySQL
2023-06-10 12:15:44 +05:30
..
main Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30
test Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30