Skip to content

Conversation

@original-brownbear
Copy link
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 elastic#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
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Contributor Author

Jenkins run elasticsearch-ci/bwc

@original-brownbear
Copy link
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
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants