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

On failed calling Rest-API wait for random moment #2121

Closed
benedeki opened this issue Aug 29, 2022 · 1 comment · Fixed by #2122
Closed

On failed calling Rest-API wait for random moment #2121

benedeki opened this issue Aug 29, 2022 · 1 comment · Fixed by #2122
Assignees
Labels
Conformance Conformance Job affected feature New feature priority: medium Important but not urgent Standardization Standardization Job affected

Comments

@benedeki
Copy link
Collaborator

Background

When a Rest-API calls fails from SparkJobs it is retried immediately, possibly creating an ingestion on the Rest endpoint.

Feature

In case of a failure & retry on Rest API call add a random length ~2 seconds sleep.

@jakipatryk
Copy link
Collaborator

Release notes
dao: A random (quadratically + linearly randomized) wait has been added between retries of the same URL and between switching URLs on calling the REST API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Conformance Conformance Job affected feature New feature priority: medium Important but not urgent Standardization Standardization Job affected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants