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

feat: use cache in compaction #3982

Merged
merged 1 commit into from
May 20, 2024

Conversation

evenyag
Copy link
Contributor

@evenyag evenyag commented May 18, 2024

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?

This PR passes the cache to the reader built for compaction so the compaction can reuse cached pages and files.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.

@github-actions github-actions bot added the docs-not-required This change does not impact docs. label May 18, 2024
@evenyag evenyag marked this pull request as ready for review May 18, 2024 07:05
@evenyag evenyag requested review from v0y4g3r and waynexia as code owners May 18, 2024 07:05
@evenyag evenyag requested a review from shuiyisong May 18, 2024 07:06
Copy link

codecov bot commented May 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.12%. Comparing base (11ad5b3) to head (06eb9ef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3982      +/-   ##
==========================================
- Coverage   85.40%   85.12%   -0.29%     
==========================================
  Files         978      978              
  Lines      169100   169103       +3     
==========================================
- Hits       144427   143943     -484     
- Misses      24673    25160     +487     

Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@killme2008 killme2008 added this pull request to the merge queue May 20, 2024
Merged via the queue into GreptimeTeam:main with commit df13832 May 20, 2024
24 of 35 checks passed
WenyXu pushed a commit to WenyXu/greptimedb that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants