forked from GreptimeTeam/greptimedb
-
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.
feat: implement truncate region for mito2 (GreptimeTeam#2335)
* feat: implement truncate region for mito2. * chore: add license header and fix typos * Update src/mito2/src/worker/handle_truncate.rs Co-authored-by: Yingwen <[email protected]> * cr * chore: consider the flush task being executed before truncating the region. * test * feat: check flush and compaction tasks * chore: remove useless changes * Update src/mito2/src/manifest/action.rs Co-authored-by: Yingwen <[email protected]> * Update src/mito2/src/worker/handle_flush.rs Co-authored-by: Yingwen <[email protected]> * chore: CR, consider sequence number * test: use EventListener to test the flush task during truncate * fix: fix listener error * Update src/mito2/src/engine/truncate_test.rs Co-authored-by: Yingwen <[email protected]> * chore: cr * fix: remove set None * Update src/mito2/src/region/version.rs Co-authored-by: dennis zhuang <[email protected]> * Update src/mito2/src/worker/handle_flush.rs Co-authored-by: dennis zhuang <[email protected]> * Update src/mito2/src/worker/handle_truncate.rs Co-authored-by: dennis zhuang <[email protected]> * doc: add some doc for FlushTruncateListener and RegionTruncate --------- Co-authored-by: Yingwen <[email protected]> Co-authored-by: dennis zhuang <[email protected]>
- Loading branch information
Showing
16 changed files
with
623 additions
and
14 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.