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

Remove Delete Method from BlobStore #41619

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Apr 27, 2019

  • The delete method on the blob store was used almost nowhere and just duplicates the delete method on the blob containers
    • The fact that it provided for some recursive delete logic (that did not behave the same way on all implementations) was not used and not properly tested either
    • Had to adjust the verification cleanup method a little since that was the only user of this logic. Now it uses list and then delete to clean up the blobs it creates.

* The delete method on the blob store was used almost nowhere and just duplicates the delete method on the blob containers
  * The fact that it provided for some recursive delete logic (that did not behave the same way on all implementations) was not used and not properly tested either
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/docbldesx

@original-brownbear
Copy link
Member Author

From the "related note" in #41368 (review) :)

Copy link
Contributor

@andrershov andrershov 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
Copy link
Member Author

Jenkins run elasticsearch-ci/docbldesx

@original-brownbear
Copy link
Member Author

thanks @andrershov !

@original-brownbear original-brownbear merged commit 70eb812 into elastic:master May 9, 2019
@original-brownbear original-brownbear deleted the remove-blobstore-delete-method branch May 9, 2019 15:12
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request May 27, 2019
* Remove Delete Method from BlobStore

* The delete method on the blob store was used almost nowhere and just duplicates the delete method on the blob containers
  * The fact that it provided for some recursive delete logic (that did not behave the same way on all implementations) was not used and not properly tested either
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
* Remove Delete Method from BlobStore

* The delete method on the blob store was used almost nowhere and just duplicates the delete method on the blob containers
  * The fact that it provided for some recursive delete logic (that did not behave the same way on all implementations) was not used and not properly tested either
original-brownbear added a commit that referenced this pull request May 27, 2019
* Remove Delete Method from BlobStore (#41619)
* The delete method on the blob store was used almost nowhere and just duplicates the delete method on the blob containers
  * The fact that it provided for some recursive delete logic (that did not behave the same way on all implementations) was not used and not properly tested either
@original-brownbear original-brownbear restored the remove-blobstore-delete-method branch August 6, 2020 18:26
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