Skip to content

feat(replication)!: complete V1 state sync and bounded-memory restore - #840

Merged
QuantumExplorer merged 29 commits into
dashpay:developfrom
PastaPastaPasta:feat/state-sync-v2
Sep 6, 2026
Merged

feat(replication)!: complete V1 state sync and bounded-memory restore#840
QuantumExplorer merged 29 commits into
dashpay:developfrom
PastaPastaPasta:feat/state-sync-v2

fix(replication): preserve existing reference and empty-tree bindings

ac0a408
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 6, 2026 in 1s

92.56% (+0.02%) compared to 6c882c3

View this Pull Request on Codecov

92.56% (+0.02%) compared to 6c882c3

Details

Codecov Report

❌ Patch coverage is 93.31683% with 135 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.56%. Comparing base (6c882c3) to head (ac0a408).
⚠️ Report is 23 commits behind head on develop.

Files with missing lines Patch % Lines
grovedb/src/replication/state_sync_session.rs 89.94% 69 Missing ⚠️
merk/src/merk/restore.rs 96.15% 24 Missing ⚠️
grovedb/src/replication/verify.rs 90.90% 15 Missing ⚠️
grovedb/src/replication/indexed_sync.rs 95.37% 11 Missing ⚠️
grovedb/src/lib.rs 73.33% 8 Missing ⚠️
grovedb/src/replication/non_merk_sync.rs 78.12% 7 Missing ⚠️
grovedb/src/replication.rs 99.25% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #840      +/-   ##
===========================================
+ Coverage    92.53%   92.56%   +0.02%     
===========================================
  Files          292      307      +15     
  Lines        90501    95705    +5204     
===========================================
+ Hits         83744    88585    +4841     
- Misses        6757     7120     +363     
Components Coverage Δ
grovedb-core 90.61% <91.74%> (-0.08%) ⬇️
merk 93.71% <96.44%> (+0.44%) ⬆️
storage 91.70% <ø> (-0.26%) ⬇️
commitment-tree 96.38% <ø> (ø)
mmr 95.11% <ø> (-0.01%) ⬇️
bulk-append-tree 92.78% <ø> (+0.02%) ⬆️
element 98.05% <ø> (+0.06%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.