Skip to content

Conversation

@tlrx
Copy link
Member

@tlrx tlrx commented Mar 27, 2020

This pull request adds support for ranged read blob operations to the repository azure plugin. It adds the necessary plumbing down to the Azure SDK with additionnal unit tests and also adds a QA test for searchable snapshots.

Relates #50999

@tlrx tlrx added >enhancement :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Mar 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM :)

@Override
RetryPolicyFactory createRetryPolicy(final AzureStorageSettings azureStorageSettings) {
return new RetryExponentialRetry(1, 100, 500, azureStorageSettings.getMaxRetries());
return new RetryExponentialRetry(1, 10, 100, azureStorageSettings.getMaxRetries());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why make this way more aggressive? I don't see the harm in doing so ... seems like we don't need these long timeout here, just wondering? :)

Copy link
Member Author

Choose a reason for hiding this comment

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

While looking at this class I found them a bit high, specially when a high number of retries (5) is picked up so I lowered them. If that causes any issue on CI I'll restore the previous values.

@tlrx
Copy link
Member Author

tlrx commented Mar 31, 2020

@elasticmachine run elasticsearch-ci/2

@tlrx
Copy link
Member Author

tlrx commented Apr 1, 2020

@elasticmachine update branch

@tlrx
Copy link
Member Author

tlrx commented Apr 1, 2020

@elasticmachine run elasticsearch-ci/1 (unrelated failure)
@elasticmachine run elasticsearch-ci/2 (IML related failure)

@tlrx tlrx merged commit f879268 into elastic:feature/searchable-snapshots Apr 1, 2020
@tlrx tlrx deleted the add-azure-range-blob-dl branch April 1, 2020 09:58
@tlrx
Copy link
Member Author

tlrx commented Apr 1, 2020

Thanks a lot Armin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants