Repository navigation
Enable consensus compaction by default - #5903
Merged
Merged
Conversation
Member
Author
|
I'm surprised by the failing CI test. Removing the explicit |
6 tasks done
Member
Author
|
Depends on #5905. A rebase on top of |
timvisee
force-pushed
the
enable-consensus-compaction
branch
from
January 30, 2025 09:04
e2853de to
65bc34d
Compare
timvisee
marked this pull request as ready for review
January 30, 2025 09:04
timvisee
force-pushed
the
enable-consensus-compaction
branch
from
January 30, 2025 10:17
65bc34d to
7fd190d
Compare
Contributor
|
I figured it out. The We need to relax the assertion a bit: debug_assert!(
last_applied_index >= first_entry.index - 1,
"Raft WAL is missing {} unapplied entries (last applied index: {}, first WAL entry index: {})",
first_entry.index - last_applied_index - 1,
last_applied_index,
first_entry.index,
);
|
6 tasks done
timvisee
force-pushed
the
enable-consensus-compaction
branch
from
January 30, 2025 13:56
7fd190d to
74733d9
Compare
Member
Author
|
Assertion fix implemented in #5914, this has been rebased upon it. This PR is ready for review. CI is green now. |
1 similar comment
Member
Author
|
Assertion fix implemented in #5914, this has been rebased upon it. This PR is ready for review. CI is green now. |
ffuugoo
approved these changes
Jan 30, 2025
generall
approved these changes
Feb 4, 2025
timvisee
added a commit
that referenced
this pull request
Feb 11, 2025
* Enable consensus compaction by default * Also set new compaction default in code
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #5905
Enable compaction of consensus operations by default. This imposes two key benefits:
We should confirm if #5900 fixes the current ongoing consensus problems in chaos testing before merging this PR.
I used 128 instead of 100 because it is a nice round number 😃
All Submissions:
devbranch. Did you create your branch fromdev?New Feature Submissions:
cargo +nightly fmt --allcommand prior to submission?cargo clippy --all --all-featurescommand?