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

DataSourceOracle: retry twice (and document why we retry at all) #536

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

OddBloke
Copy link
Collaborator

No description provided.

# Per Oracle, there are short windows (measured in milliseconds) throughout
# an instance's lifetime where the IMDS is being updated and may 404 as a
# result. To work around these windows, we retry a couple of times.
retries = 2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'd clearly be better to retry only on the 404 in that case, but good enough.

@OddBloke OddBloke merged commit 2d3533b into canonical:master Aug 14, 2020
@OddBloke OddBloke deleted the oracle branch August 14, 2020 15:38
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 this pull request may close these issues.

3 participants