Skip to content
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

Refactor(2.3): improve delta_compactions #2046

Merged

Conversation

zipper-meng
Copy link
Member

Required checklist

  • Sample config files updated (config,meta/config and default config)
  • If there are user-facing changes, the documentation needs to be updated prior to approving the PR( Link )
  • If there are any breaking changes to public APIs, please add the api change label.
  • Signed CLA (if not already signed)

Which issue does this PR close?

Related #.

Rationale for this change

Some improvements of delta_compactions

Picker

Pick compact_trigger_file_num lv0 files until there are no more lv0 files that contain the newest data numbered consecutively and, then pick the first lv0 file that overlaps with lv1_4.

Job

Do not trigger normal compaction after delta compaction.

Others

Improve logs, with more debug information.

Are there any user-facing changes?

…igger normal compaction after delta compaction
@roseboy-liu roseboy-liu merged commit 243891b into cnosdb:LTS/2.3 Apr 3, 2024
7 checks passed
@zipper-meng
Copy link
Member Author

It's some work to fix #1356.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants