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

Closed
lovromazgon opened this issue Aug 14, 2024 · 0 comments · Fixed by #1853
Closed

[Recovery] Recovery mechanism #1781

lovromazgon opened this issue Aug 14, 2024 · 0 comments · 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants