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

Add integration test for Azure multi block uploads #69267

Merged
merged 4 commits into from
Mar 1, 2021

Conversation

fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Feb 19, 2021

Relates to #68957

@fcofdez fcofdez added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.13.0 labels Feb 19, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@fcofdez
Copy link
Contributor Author

fcofdez commented Feb 24, 2021

@original-brownbear would you mind reviewing this PR when you have the chance? Thanks!

Copy link
Member

@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 :) + sorry for the delay!

final int blobSize = ByteSizeUnit.MB.toIntBytes(2);
final Executor executor = repo.threadPool().generic();
PlainActionFuture<Void> future = PlainActionFuture.newFuture();
executor.execute(ActionRunnable.run(future, () -> {
Copy link
Member

Choose a reason for hiding this comment

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

NIT: just inline repo.threadPool().generic() here, you're only using executor once

@fcofdez
Copy link
Contributor Author

fcofdez commented Mar 1, 2021

@elasticmachine update branch

@fcofdez fcofdez merged commit 22ef725 into elastic:master Mar 1, 2021
fcofdez added a commit to fcofdez/elasticsearch that referenced this pull request Mar 1, 2021
fcofdez added a commit that referenced this pull request Mar 1, 2021
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 Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants