-
Notifications
You must be signed in to change notification settings - Fork 29
Delete datasets on S3 #8924
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
Open
frcroth
wants to merge
86
commits into
master
Choose a base branch
from
s3-delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Delete datasets on S3 #8924
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
63f1b69
Implement rudimentary upload of datasets to S3
frcroth f2dcd81
Fix that uploads would have 'aws-chunked' content encoding in files
frcroth 6e62928
Use update data source route for uploading virtual datasets
frcroth f90002e
Use S3 transfer manager for file uploads
frcroth 5d9eff4
Add application.conf
frcroth 5e548c8
Clean up unsued code, remove todos
frcroth a62c986
Merge branch 'master' into s3-upload
frcroth 71b3e30
Update changelog
frcroth 5c64063
Add absolute paths to datasets with no mag paths
frcroth 631bc4a
Do not upload unreferenced files to S3
frcroth cc0509d
Merge branch 'master' into s3-upload
normanrz acc56ba
Do not upload on conversion, simplify application.conf
frcroth 77bd98f
Merge remote-tracking branch 'origin/master' into s3-upload
frcroth fc22245
Implement deletion of S3 datasets
frcroth 063132d
Do not delete mags that are referenced in other layers
frcroth 1b6493b
Lint
frcroth 36533df
Merge branch 'master' into s3-upload
fm3 193609d
Merge branch 's3-upload' into s3-delete
fm3 a37534d
Merge branch 'master' into s3-upload
fm3 505550c
update migration guide
fm3 384513d
upath
fm3 a81f287
Merge branch 'master' into s3-upload
fm3 18a9fbd
WIP adapt upload to use datasetId where possible
fm3 b021cd8
move to target, pass linked layers to wk side
fm3 79a0c11
Merge branch 'master' into s3-upload
fm3 2fbe524
move to target depending on config, pass datasource to wk side, use n…
fm3 9e04d83
track new datasets also if added via add or uploadToPaths
fm3 d09c5f1
wip legacy api version
fm3 fa4a817
register dataset in db,cleanup,log to slack, validate linked layers
fm3 0f9e165
Merge branch 'master' into s3-upload
fm3 a50f98a
rename LegacyController to DSLegacyApiController
fm3 b79c5a3
fix legacy api adapter
fm3 174b9a7
cleanup
fm3 328d1cc
format
fm3 297459a
reset application.conf
fm3 a509ceb
re-add s3Upload block in application.conf
fm3 32ead33
improve compatibility with worker convert jobs
fm3 b48966d
unify logging
fm3 4bfb9a2
handle legacy layersToLink with dataset id
fm3 e5857c6
Merge branch 's3-upload' into s3-delete
fm3 b210c7d
Merge branch 'master' into s3-upload
fm3 2aebc34
implement pr feedback
fm3 28ec1a3
Merge branch 'master' into s3-upload
fm3 8dab124
remove this.synchronized around UploadService file operations
fm3 fe9c527
Revert "remove this.synchronized around UploadService file operations"
fm3 9efac9a
some more logging for finishUpload request
fm3 b3b87b0
Merge branch 'master' into s3-upload
MichaelBuessemeyer c3cf1d6
Merge branch 'master' into s3-upload
fm3 8d51044
add slow request slack notification for finishUpload
fm3 d0feb8d
Merge branch 's3-upload' into s3-delete
fm3 34846c4
Merge branch 'master' into s3-delete
fm3 4c78b88
Merge branch 'master' into s3-delete
fm3 8d480b2
cleanup
fm3 3860da3
draft
fm3 935b4e9
fix compiler errors, wip new deletion logic
fm3 5a08f02
Merge branch 'master' into s3-delete
fm3 e520cc9
implement delete paths on datastore side
fm3 e704481
cleanup
fm3 834e6e4
remove dataset also from postgres
fm3 96c43fe
cleanup
fm3 c3ac8c3
fix circular dependency
fm3 7335a0f
adapt frontend (changed api route)
fm3 f493207
Merge branch 'master' into s3-delete
fm3 1a032b2
WIP find unique paths
fm3 a684044
also attachments
fm3 aa5c994
wip also handle non-virtual datasets
fm3 84c49b2
check other datasets using deletee
fm3 0b17368
remove unused code
fm3 cb52d47
fixes
fm3 c90421d
Merge branch 'master' into s3-delete
fm3 6bda79d
reset application.conf
fm3 3783ce8
Merge branch 'master' into s3-delete
fm3 c50f346
extract stuff to S3UriUtils
fm3 beff7d7
use upath for prefix check
fm3 b91144f
avoid string prefix false positives in startsWith
fm3 376ef47
changelog
fm3 768402e
remove unused route
fm3 991c3af
remove unused code
fm3 df11bf1
Merge branch 'master' into s3-delete
fm3 542c5b7
Merge branch 'master' into s3-delete
fm3 d80fec9
add null checks, add comments, improve logging
fm3 cc9908c
remove snapshot test of no-longer existing route
fm3 6219144
add duration logging for dataset deletion
fm3 1af5aca
simplify UPath.startsWith
fm3 04b1de2
Merge branch 'master' into s3-delete
fm3 368893d
implement pr feedback
fm3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.