-
Notifications
You must be signed in to change notification settings - Fork 425
feat: gc scheduler to be merge #7262
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
Draft
discord9
wants to merge
10
commits into
GreptimeTeam:main
Choose a base branch
from
discord9:gc_scheduler_to_be_merge
base: main
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.
Draft
Conversation
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
Signed-off-by: discord9 <[email protected]> feat: gc scheduler wip: gc trigger Signed-off-by: discord9 <[email protected]> feat: dn file removal rate Signed-off-by: discord9 <[email protected]> feat: trigger gc with stats(WIP) Signed-off-by: discord9 <[email protected]> chore Signed-off-by: discord9 <[email protected]> also move files ref manifest to store-api Signed-off-by: discord9 <[email protected]> feat: basic gc trigger impl Signed-off-by: discord9 <[email protected]> wip: handle file ref change Signed-off-by: discord9 <[email protected]> refactor: use region ids Signed-off-by: discord9 <[email protected]> fix: retry using related regions Signed-off-by: discord9 <[email protected]> chore: rm unused Signed-off-by: discord9 <[email protected]> fix: update file reference type in GC worker Signed-off-by: discord9 <[email protected]> feat: dn gc limiter Signed-off-by: discord9 <[email protected]> rename Signed-off-by: discord9 <[email protected]> feat: gc scheduler retry with outdated regions Signed-off-by: discord9 <[email protected]> feat: use real object store purger Signed-off-by: discord9 <[email protected]> wip: add to metasrv Signed-off-by: discord9 <[email protected]> feat: add to metasrv Signed-off-by: discord9 <[email protected]> feat: datanode gc worker handler Signed-off-by: discord9 <[email protected]> fix: no partition col fix Signed-off-by: discord9 <[email protected]> fix: RegionId json deser workaround Signed-off-by: discord9 <[email protected]> fix: find access layer Signed-off-by: discord9 <[email protected]> fix: on host dn Signed-off-by: discord9 <[email protected]> fix: stat dedup Signed-off-by: discord9 <[email protected]> refactor: rm load-based Signed-off-by: discord9 <[email protected]> chore: aft rebase fix Signed-off-by: discord9 <[email protected]> feat: not full scan Signed-off-by: discord9 <[email protected]> chore: after rebase fix Signed-off-by: discord9 <[email protected]> feat: clean tracker Signed-off-by: discord9 <[email protected]> after rebase fix Signed-off-by: discord9 <[email protected]> clippy Signed-off-by: discord9 <[email protected]> refactor: split gc scheduler Signed-off-by: discord9 <[email protected]> feat: smaller linger time Signed-off-by: discord9 <[email protected]> feat: parallel region gc instr Signed-off-by: discord9 <[email protected]> chore: rename Signed-off-by: discord9 <[email protected]> chore: rename Signed-off-by: discord9 <[email protected]> enable is false Signed-off-by: discord9 <[email protected]> feat: update removed files precisely Signed-off-by: discord9 <[email protected]> all default to false&use local file purger Signed-off-by: discord9 <[email protected]> feat: not evict if gc enabled Signed-off-by: discord9 <[email protected]> per review Signed-off-by: discord9 <[email protected]> fix: pass gc config in mito&test: after truncate gc Signed-off-by: discord9 <[email protected]> WIP: one more test Signed-off-by: discord9 <[email protected]> test: basic compact Signed-off-by: discord9 <[email protected]> test: compact with ref Signed-off-by: discord9 <[email protected]> refactor: for easier mock Signed-off-by: discord9 <[email protected]> docs: explain race condition Signed-off-by: discord9 <[email protected]> feat: gc region procedure Signed-off-by: discord9 <[email protected]> refactor: ctx send gc/ref instr with procedure Signed-off-by: discord9 <[email protected]> fix: config deser to default Signed-off-by: discord9 <[email protected]> refactor: gc report Signed-off-by: discord9 <[email protected]> wip: async index file rm Signed-off-by: discord9 <[email protected]> fixme? Signed-off-by: discord9 <[email protected]> typo Signed-off-by: discord9 <[email protected]> more ut Signed-off-by: discord9 <[email protected]> test: more mock test Signed-off-by: discord9 <[email protected]> more Signed-off-by: discord9 <[email protected]> refactor: split mock test Signed-off-by: discord9 <[email protected]> clippy Signed-off-by: discord9 <[email protected]> refactor: rm stuff Signed-off-by: discord9 <[email protected]> test: mock add gc report per region Signed-off-by: discord9 <[email protected]> fix: stricter table failure condition Signed-off-by: discord9 <[email protected]> sutff Signed-off-by: discord9 <[email protected]> feat: can do different table gc same time&more todos Signed-off-by: discord9 <[email protected]> after rebase check Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
Signed-off-by: discord9 <[email protected]>
b967b73 to
8f77c6e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
PR Checklist
Please convert it to a draft if some of the following conditions are not met.