Repository navigation
feat: pending state journal for leader recovery - #2762
Draft
carneiro-cw wants to merge 9 commits into
Draft
carneiro-cw wants to merge 9 commits into
carneiro-cw wants to merge 9 commits into
Conversation
Persist pending-block transactions to a per-block journal file so a SIGKILLed leader can replay and commit its pending blocks on restart. - TransactionJournal: append/read/retire of block journals under the database directory, retired on drop once two newer journals exist - recover_transaction_journal in main replays journaled blocks before mining starts; miner init becomes sync so interval mining starts only after recovery - permanent storage resolves and anchors the db path in DATABASE_PATH - serde derives needed to deserialize journaled types - e2e journal-recovery test spawning a leader with an external RocksDB prefix
Contributor
|
Failed to generate code suggestions for PR |
carneiro-cw
force-pushed
the
transaction-journal
branch
from
October 30, 2026 18:35
2980b35 to
013a3c5
Compare
CI builds with --profile ci, so the binary sits at target/ci/stratus and the hardcoded target/debug fallback made the journal-recovery test spawn a nonexistent path (ENOENT).
|
Benchmark: Git Info:
Leader Stats: Follower Stats: Plots: |
|
Flamegraphs: Git Info:
Flamegraphs: write: read: follower: |
|
Forwarding benchmark: Git Info:
Follower Stats (transactions sent to follower): Plots: |
This branch has not been deployed
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.
No description provided.