You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5fe90c0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(rootmulti): stop snapshot restore when node is rejected by SC importer (#4412)
Snapshot restore now exit early when the SC (State Commitment) importer
cannot import a node, instead of continuing without it. Previously the
FlatKV importer skipped such nodes silently, while the restore still
passed them on to the SS (State Store).
- `Importer.AddNode` now returns an error. KVImporter rejects non-leaf
nodes, nodes without a key, and nodes at a version other than the import
height, instead of skipping them.
- `rootmulti.Store.restore` stops on that error, and forwards a leaf to
the state store only after SC accepts it.
- The memiavl importer always returns nil, the composite importer
returns its backend's error, and seidb import-flatkv-from-memiavl stops
at the first rejected pair.
0 commit comments