Skip to content

Optimize Azure Directory Delete#43341

Merged
original-brownbear merged 4 commits intoelastic:masterfrom
original-brownbear:optimize-azure-bulk-deletes
Jul 1, 2019
Merged

Optimize Azure Directory Delete#43341
original-brownbear merged 4 commits intoelastic:masterfrom
original-brownbear:optimize-azure-bulk-deletes

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

  • Follow up to Recursive Delete on BlobContainer #43281:
  • Optimizing the Azure directory delete operation:
    • Same as with GCS and S3 we can simply flat list a prefix and then delete as we iterate instead of listing the directories recursively. This should require fewer actual list RPC calls and the logic becomes simpler
  • Also reverted the added complexity for the normal bulk delete code that I had to add in Recursive Delete on BlobContainer #43281

* Follow up to #43281:
* Optimizing the Azure directory delete operation:
   * Same as with GCS and S3 we can simply flat list a prefix and then delete as we iterate instead of listing the directories recursively. This should require fewer actual list RPC calls and the logic becomes simpler
@original-brownbear original-brownbear added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.3.0 labels Jun 18, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/bwc

@original-brownbear
Copy link
Copy Markdown
Contributor Author

@ywelsch thanks for taking a look, removed the submits (not sure why I added those ... 🤦‍♂ must've been the heat).
Commented on the other point.

Copy link
Copy Markdown
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM

@original-brownbear original-brownbear merged commit 525f9c0 into elastic:master Jul 1, 2019
@original-brownbear original-brownbear deleted the optimize-azure-bulk-deletes branch July 1, 2019 13:02
@original-brownbear original-brownbear restored the optimize-azure-bulk-deletes branch August 6, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue v7.4.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants