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

Fix AWS S3LayerDeleter #3378

Merged
merged 5 commits into from
Apr 12, 2021
Merged

Conversation

zacdezgeo
Copy link
Contributor

Overview

Relates to previously closed #3371.

An error is thrown due to trying to delete the attribute information of a layerId previously deleted. The fix was simply to remove the call to the attribute store outside of the foreach loop.

Checklist

  • ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.
  • Module Hierarchy updated, if necessary
  • docs guides update, if necessary
  • New user API has useful Scaladoc strings
  • Unit tests added for bug-fix or new feature

Notes

Probably should consider implementing an integration/unit test

Closes #3371

@pomadchin
Copy link
Member

@zacharyDez don’t worry, I think the change good as it is, thanks for catching the small bug 👍

Hmm, could you rebase on top of master?

Copy link
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

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

👍 thank you!

@pomadchin pomadchin changed the title Fix/aws s3 delete limit Fix AWS S3LayerDeleter Apr 12, 2021
@pomadchin pomadchin merged commit 017dfbf into locationtech:master Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3LayerDeleter cannot handle over 1000 objects to delete
2 participants