Skip to content

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

Merged
OddBloke merged 1 commit into
canonical:masterfrom
OddBloke:oracle
Aug 14, 2020
Merged

DataSourceOracle: retry twice (and document why we retry at all)#536
OddBloke merged 1 commit into
canonical:masterfrom
OddBloke:oracle

Conversation

@OddBloke
Copy link
Copy Markdown
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
Copy Markdown
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