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(wal): replay memtable should from flushed_entry_id + 1 #3038

Merged
merged 2 commits into from
Dec 28, 2023

Conversation

WenyXu
Copy link
Member

@WenyXu WenyXu commented Dec 28, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Fixed replay memtable incorrectly. It should replay from flushed_entry_id + 1.

Checklist

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

Refer to a related PR or issue link (optional)

@github-actions github-actions bot added docs-not-required This change does not impact docs. size/xs labels Dec 28, 2023
@WenyXu WenyXu force-pushed the fix/replay-memtable branch from 6a76c16 to a8cb592 Compare December 28, 2023 13:07
@WenyXu WenyXu requested a review from v0y4g3r December 28, 2023 13:09
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7152407) 85.50% compared to head (5a9d9e4) 85.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3038      +/-   ##
==========================================
- Coverage   85.50%   85.02%   -0.48%     
==========================================
  Files         793      793              
  Lines      128447   128451       +4     
==========================================
- Hits       109825   109221     -604     
- Misses      18622    19230     +608     

Copy link
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added Size: S and removed size/xs labels Dec 28, 2023
@WenyXu WenyXu self-assigned this Dec 28, 2023
@niebayes niebayes added this pull request to the merge queue Dec 28, 2023
@niebayes niebayes changed the title fix: replay memtable should from flushed_entry_id + 1 fix(wal): replay memtable should from flushed_entry_id + 1 Dec 28, 2023
Merged via the queue into GreptimeTeam:main with commit b526d15 Dec 28, 2023
17 checks passed
@niebayes niebayes mentioned this pull request Dec 29, 2023
14 tasks
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