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 fails when deleting old logs fails #1300

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

killme2008
Copy link
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

The old manifest logs may be deleted by GC task simultaneously with do_checkpoint, then cause checkpointing to fail. But it doesn't matter when deleting manifest logs fails in checkpointing, they will be purged by GC task.

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)

@killme2008 killme2008 marked this pull request as ready for review April 1, 2023 11:56
@codecov
Copy link

codecov bot commented Apr 1, 2023

Codecov Report

Merging #1300 (c9113da) into develop (6a05f61) will decrease coverage by 0.43%.
The diff coverage is 83.33%.

@@             Coverage Diff             @@
##           develop    #1300      +/-   ##
===========================================
- Coverage    85.88%   85.46%   -0.43%     
===========================================
  Files          500      501       +1     
  Lines        75756    75862     +106     
===========================================
- Hits         65066    64834     -232     
- Misses       10690    11028     +338     

Copy link
Contributor

@v0y4g3r v0y4g3r 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
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

@fengjiachun fengjiachun merged commit aea932b into GreptimeTeam:develop Apr 2, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
@killme2008 killme2008 deleted the fix/manifest-purge branch January 16, 2024 09:42
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.

3 participants