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

use log group lower bound as flush key #629

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

Besroy
Copy link
Contributor

@Besroy Besroy commented Jan 9, 2025

Fix logic for setting flush_ld_key while loading logs, makes it consistent with the logic in on_write_completion
This change prevents truncating more logs than expected.

@Besroy Besroy requested a review from xiaoxichen January 9, 2025 10:39
@Besroy Besroy force-pushed the fix_truncate_after_restart branch 3 times, most recently from fb5a52e to fd70a11 Compare January 9, 2025 14:48
@Besroy Besroy requested a review from JacksonYao287 January 14, 2025 08:44
@Besroy Besroy force-pushed the fix_truncate_after_restart branch from fd70a11 to 85b000a Compare January 16, 2025 07:07
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.05%. Comparing base (1a0cef8) to head (84c888f).
Report is 124 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #629      +/-   ##
==========================================
+ Coverage   56.51%   66.05%   +9.54%     
==========================================
  Files         108      109       +1     
  Lines       10300    10983     +683     
  Branches     1402     1503     +101     
==========================================
+ Hits         5821     7255    +1434     
+ Misses       3894     3013     -881     
- Partials      585      715     +130     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

xiaoxichen
xiaoxichen previously approved these changes Jan 16, 2025
…stent with the logic in on_write_completion

This change prevents truncating more logs than expected.
@Besroy Besroy force-pushed the fix_truncate_after_restart branch from 0d2f203 to 84c888f Compare January 17, 2025 05:29
@xiaoxichen xiaoxichen merged commit 4714820 into eBay:master Jan 17, 2025
21 checks passed
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.

4 participants