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

fix: checkpoint metadata file dirty caching #2020

Merged

Conversation

killme2008
Copy link
Contributor

@killme2008 killme2008 commented Jul 24, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Don't cache __last_checkpoint file when enabling object store cache. It would cause SST files metadata error in region just like #2013

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Close #2013

@killme2008 killme2008 marked this pull request as ready for review July 24, 2023 08:07
@killme2008 killme2008 requested review from v0y4g3r and evenyag July 24, 2023 08:07
@evenyag evenyag enabled auto-merge July 24, 2023 08:13
@evenyag evenyag added this pull request to the merge queue Jul 24, 2023
@codecov
Copy link

codecov bot commented Jul 24, 2023

Codecov Report

Merging #2020 (56f2311) into develop (632cb26) will decrease coverage by 0.38%.
The diff coverage is 94.44%.

@@             Coverage Diff             @@
##           develop    #2020      +/-   ##
===========================================
- Coverage    85.44%   85.07%   -0.38%     
===========================================
  Files          659      659              
  Lines       104423   104441      +18     
===========================================
- Hits         89228    88855     -373     
- Misses       15195    15586     +391     

Merged via the queue into GreptimeTeam:develop with commit 1f371f5 Jul 24, 2023
shuiyisong pushed a commit that referenced this pull request Jul 24, 2023
fix: dirty last checkpoint metadata file when enable object store caching, #2013
shuiyisong pushed a commit that referenced this pull request Aug 9, 2023
fix: dirty last checkpoint metadata file when enable object store caching, #2013
@killme2008 killme2008 deleted the fix/last-checkpoint-dirty-cache branch August 22, 2023 09:51
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
fix: dirty last checkpoint metadata file when enable object store caching, GreptimeTeam#2013
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.

Compacted SST file reappears in region
3 participants