forked from apache/polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Async Deletion of Previous Metadata and Statistics Files (apache#312)
* delete manifest, manifest list, prev files, stats when drop table with purge * unit test for drop table * refine warning code * code format * refine warning code * remove unused code * remove unused import * code format * remove additional manifest and manifest list deletion * add stat deletion test * code format * add new AsyncTaskType * Schedule prev metadata and stat files deletion in seperated tasks * Table content cleanup task handler * Unit test for table clean up * code format * register task handler * handler table content files in batch * adjust unit test after batch processing * add unit test for TableContentCleanupTaskHandler * code format * merge cleanup tasks into one * code format * refactor manifest cleanup handler based on comments - 1. renaming - 2. add log and exception handling - 3. remove unnecessary log * refactor table cleanup handler based on comments - 1. renaming - 2. extract task entities creation into methods - 3. remove unnecessary filtering * add TODO * renaming * split the task type in cleanup task handler * error handling --------- Co-authored-by: Yufei Gu <[email protected]>
- Loading branch information
1 parent
b5685ef
commit edd09f0
Showing
7 changed files
with
824 additions
and
145 deletions.
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
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.