Skip to content

Remove Delete Method from BlobStore#41619

Merged
original-brownbear merged 7 commits intoelastic:masterfrom
original-brownbear:remove-blobstore-delete-method
May 9, 2019
Merged

Remove Delete Method from BlobStore#41619
original-brownbear merged 7 commits intoelastic:masterfrom
original-brownbear:remove-blobstore-delete-method

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

@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
@original-brownbear original-brownbear added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.2.0 labels Apr 27, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/docbldesx

@original-brownbear
Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/docbldesx

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants