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

Retry database push in case of errors #19404

Merged
merged 1 commit into from
May 29, 2024

Conversation

grisu48
Copy link
Contributor

@grisu48 grisu48 commented May 28, 2024

Sometimes pushing some datapoints to the datapoints results in 504 errors. To avoid data loss we retry 3 times with a qubic backoff sleep to avoid database load issues.

Copy link

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@grisu48 grisu48 marked this pull request as ready for review May 28, 2024 14:32
lib/db_utils.pm Outdated Show resolved Hide resolved
Sometimes pushing some datapoints to the datapoints results in 504
errors. To avoid data loss we retry 3 times with a qubic backoff sleep
to avoid database load issues.
@grisu48 grisu48 merged commit 08b8eb8 into os-autoinst:master May 29, 2024
10 checks passed
@grisu48 grisu48 deleted the database-db-db branch May 29, 2024 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants