-
Notifications
You must be signed in to change notification settings - Fork 153
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
feat: improve reliability & usability of VFolder removal API #1884
Closed
Closed
Changes from 4 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
0dd2c65
feature: improve VFolder purge using background task
fregataa 7d9667c
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa cb3a525
set reporter nullable and set total_progress
fregataa ee7e0aa
pass total_progress arg to bgtask mgr
fregataa 219791a
add log_type field to ProgressReporter
fregataa 1d47b57
fix UUID json decode error and refactor log type
fregataa f4b67a9
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa aa61704
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 3c5700c
apply filelock to remove tree
fregataa 8eecfde
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 1a7da50
add news fragment
fregataa 1b82f67
use asyncio.Semaphore for delete_tree instead of FileLock
fregataa 924ac55
update news fragment
fregataa 7ed0378
update test codes
fregataa d86084b
FileLock after entering delete semaphore
fregataa 0a5bdae
update news fragment
fregataa 34596ac
rename news fragment file
fregataa 9399cf6
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 9cc3016
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 220203f
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 013ceea
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa b07df98
transit delete status correctly and replace legacy 'purge' logs
fregataa 1526694
add GraphQL delete API and update purge API
fregataa f851ca1
add GQL restore API and remove user_email, group_name fields in VFold…
fregataa d877925
rename vfolder deletion APIs
fregataa 86f6494
refactor usage of VFolder row
fregataa 5dde934
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa c9e4c4f
update API names
fregataa c17abc8
fix: send delete-forever request in client
fregataa 39cb42b
update test codes
fregataa 0a976bf
add cli cmd aliases for backward compat
fregataa 79f28c7
follow-up BaseResponseModel
fregataa ca12909
'recover' is alias of 'restore'
fregataa 07721d8
test: update CLI integration test codes
fregataa 2a23e13
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa d0ff442
update news fragment
fregataa ba99172
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 6e5e158
chore: update GraphQL schema dump
fregataa 5bbb531
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 3944cc5
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa e2774ce
add gql version
fregataa c114ae4
chore: update GraphQL schema dump
fregataa 585425c
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa d130b6d
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa 68fe62b
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa c9c69fb
update gql schema versions
fregataa 8811c47
chore: update GraphQL schema dump
fregataa 04f4879
add version notations to gql types
fregataa 0143856
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa 802e613
chore: update GraphQL schema dump
fregataa 08d985b
add version notation to VFolderNode
fregataa ed9c897
chore: update GraphQL schema dump
fregataa a2b3405
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa f63358e
apply formatting
fregataa 37e176b
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa 787c501
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 0eed86d
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 79acf10
revert GQL mutations
fregataa da36224
chore: update GraphQL schema dump
fregataa 25d9a10
better log messages
fregataa ed150c3
revert 'delete-trash' cli command and api function for backward compat
fregataa 627a251
rename BackgroundTaskLogType to BackgroundTaskLogLevel
fregataa 03f92b8
better var names
fregataa 653ce28
update delete-concurreny config name and add to sample.toml
fregataa 60c4d88
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa a9de3a7
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa 9464071
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 080afd3
let 'DEPRECATED' message afront in cmd description
fregataa df389ac
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 8e3006e
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 9917f78
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 99cf192
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 60c33dd
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 5313e37
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 693fe5e
new Exception to catch Lock timeout
fregataa f8855d4
update news fragment
fregataa a027a09
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 67bb3f2
little update about logging
fregataa 493c084
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 8fbaee4
remove nested task
fregataa e816580
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
achimnol 8799c3c
Merge branch 'main' into feature/improve-vf-purge-using-bgtask
fregataa 92b85ed
create deletion task grouped by storage proxy name
fregataa 2e96bdf
update description
fregataa 5d54cf2
Merge remote-tracking branch 'origin/feature/improve-vf-purge-using-b…
fregataa 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
There are no files selected for viewing
This file contains 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, using
typing.Iterable
seems more suitable thantyping.Sequence
forrequested_vfolders
.(ref: https://docs.python.org/3/library/functions.html#sorted)