Split persistent state on parts by shards - #1100
Closed
SmaGMan wants to merge 14 commits into
Closed
Conversation
🧪 Network TestsTo run network tests for this PR, use: gh workflow run network-tests.yml -f pr_number=1100Available test options:
Test types: Results will be posted as workflow runs in the Actions tab. |
SmaGMan
force-pushed
the
feature/split-persistent-w-raw-import-speed-up
branch
2 times, most recently
from
June 17, 2026 20:22
bb2c98d to
96c829f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1100 +/- ##
==========================================
+ Coverage 59.86% 60.04% +0.18%
==========================================
Files 484 485 +1
Lines 82721 84269 +1548
Branches 82721 84269 +1548
==========================================
+ Hits 49522 50602 +1080
- Misses 30850 31205 +355
- Partials 2349 2462 +113 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
SmaGMan
force-pushed
the
feature/split-persistent-w-raw-import-speed-up
branch
from
June 17, 2026 20:31
96c829f to
849cca2
Compare
SmaGMan
marked this pull request as ready for review
June 19, 2026 16:48
SmaGMan
force-pushed
the
feature/split-persistent-w-raw-import-speed-up
branch
from
June 22, 2026 15:19
4d89ee0 to
538151a
Compare
Member
Author
|
Follow-up to improve an interrupted raw import handling #1102 |
SmaGMan
force-pushed
the
feature/split-persistent-w-raw-import-speed-up
branch
2 times, most recently
from
July 1, 2026 07:47
5eb6dba to
0cc3554
Compare
Mododo
reviewed
Jul 1, 2026
Member
|
lgtm |
…plitted persistent state import
SmaGMan
force-pushed
the
feature/split-persistent-w-raw-import-speed-up
branch
from
July 10, 2026 15:26
9750b23 to
bd512d3
Compare
Member
Author
|
All ongoing fixes are in #1111 |
SmaGMan
marked this pull request as draft
July 14, 2026 13:42
Member
Author
|
Replaced by #1111 |
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.
Introduces the split of the persistent state on to
2^persistent_state_split_depth filesby shards. It supports write/import from splitted files, exchange via RPC, backward compatibility with a single-file persistent state.It writes persistent state metadata file indicating the split config even when no split required.
Final persistent state bundle will be:
If state does not contain accounts in some shard, no part file is generated for that shard.
Crash recovery:
Pull Request Checklist
NODE CONFIGURATION MODEL CHANGES
Added optional param. Default = 0
BLOCKCHAIN CONFIGURATION MODEL CHANGES
[None]
COMPATIBILITY
Fully compatible. Existing single-file persistent state treated as created with
persistent_state_split_depth = 0.SPECIAL DEPLOYMENT ACTIONS
[Not Required]
PERFORMANCE IMPACT
State 10kk.
TESTS
Unit Tests
Covered by:
Network Tests
[No coverage]
Manual Tests
Manual tests used
devnet5