-
Notifications
You must be signed in to change notification settings - Fork 861
Composite State Store Part 5: WAL integration + Composite Pruning Manager #2785
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
Open
Kbhat1
wants to merge
12
commits into
feature/composite-ss-write-path
Choose a base branch
from
feature/composite-ss-wal-integration
base: feature/composite-ss-write-path
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Composite State Store Part 5: WAL integration + Composite Pruning Manager #2785
Kbhat1
wants to merge
12
commits into
feature/composite-ss-write-path
from
feature/composite-ss-wal-integration
Conversation
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
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/composite-ss-write-path #2785 +/- ##
===================================================================
+ Coverage 41.85% 43.84% +1.98%
===================================================================
Files 1022 1996 +974
Lines 84784 164265 +79481
===================================================================
+ Hits 35490 72018 +36528
- Misses 45949 85655 +39706
- Partials 3345 6592 +3247
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
c0a7f5b to
db4a5a9
Compare
42e19d3 to
4084fe1
Compare
ee8ea44 to
a401330
Compare
4055a6d to
ae9502c
Compare
0cefbd5 to
1fc46b6
Compare
ae9502c to
a11dc21
Compare
1fc46b6 to
dedf0c0
Compare
a11dc21 to
ca81638
Compare
c9ef455 to
f9a3987
Compare
ca81638 to
8efe6df
Compare
c769c02 to
7803574
Compare
Add recovery mechanism ensuring both Cosmos_SS and EVM_SS stay in sync: - RecoverCompositeStateStore: Syncs EVM_SS if behind, replays new WAL entries - syncEVMStore: Catches up EVM_SS via WAL replay - Standard WAL replay goes through ApplyChangesetSync (dual-writes) Usage: Call RecoverCompositeStateStore after creating CompositeStateStore.
8efe6df to
9be2e36
Compare
7803574 to
d0ff8d9
Compare
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.
Describe your changes and provide context
RecoverCompositeStateStoreto handle WAL replay for both stores on startupEVM_SSis behind (e.g., newly enabled or crash), sync it from WAL before standard recoveryApplyChangesetSyncwhich dual-writes to both stores automaticallyRecoverStateStorepatternTesting performed to validate your change