Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support retry for [statement|query] error #244

Merged

Conversation

fuyufjh
Copy link
Contributor

@fuyufjh fuyufjh commented Jan 3, 2025

Previous PR #239 doesn't support retry for error query or statement. This is because any tokens after the [statement|query] error are treated as error message regex.

However, we found this case is useful. #239 (comment)

This PR adds support for [statement|query] error with multiline message. As a compromise, the single-line syntax [statement|query] error <error message regex...> is not supported.

Signed-off-by: Eric Fu <[email protected]>
Signed-off-by: Eric Fu <[email protected]>
@fuyufjh fuyufjh force-pushed the eric/support_retry_for_statement_error branch from 85061fc to dce9f1d Compare January 3, 2025 08:37
Signed-off-by: Eric Fu <[email protected]>
@TennyZhuang TennyZhuang merged commit 99e8301 into risinglightdb:main Jan 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants