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

feature request: support retry with backoff #238

Closed
fuyufjh opened this issue Dec 20, 2024 · 0 comments · Fixed by #239
Closed

feature request: support retry with backoff #238

fuyufjh opened this issue Dec 20, 2024 · 0 comments · Fixed by #239

Comments

@fuyufjh
Copy link
Contributor

fuyufjh commented Dec 20, 2024

RisingWave takes use of this project to test everything via SQL interface.

Some test cases involve asynchronous operations, which makes them inherently falky. For example,

  • A test that reads data from Kafka source. There is no exact upper bound to ensure the data is consumed. Example
  • A test that relies on an alter system set command, where in RisingWave these changes are propagated to compute/frontend nodes in background. Example

Proposal

Shall we introduce something like

[statement [error|ok] | query] retry 3 backoff 5s

Which means the case will be retried for 3 times, with waiting 5 second before each retry.

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 a pull request may close this issue.

1 participant