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

[Recovery] Recovery mechanism #1781

Open
lovromazgon opened this issue Aug 14, 2024 · 0 comments · May be fixed by #1853
Open

[Recovery] Recovery mechanism #1781

lovromazgon opened this issue Aug 14, 2024 · 0 comments · May be fixed by #1853
Assignees

Comments

@lovromazgon
Copy link
Member

Implement a recovery mechanism (probably around here) that checks if the pipeline errored out and restarts the pipeline after the backoff delay, unless the returned error is a fatal error.

Make sure to listen if the context gets cancelled so a pipeline can stop even while waiting for the backoff retry. Hint: see how we do it in the http processor.

Also be careful because the tomb in pipeline.Instance will be alive and will prevent the pipeline to be restarted until it's dead.

@raulb raulb self-assigned this Aug 28, 2024
@raulb raulb linked a pull request Sep 16, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
2 participants