Skip to content

AccountTree: Establish re-synchronization between sqlite and rocksdb storage #1328

@drahnr

Description

@drahnr

Once we land the AccountTreeWithHistory<AccountTree<RocksDb>> implementation, we will have two distinct places for fetching persisted accounts data - the LargeSmt<_> and the SQLite database. Now whenever we get into a situation where we have a discrepancy between we need a path to resolve.

Proposal

  • drop the AccountTreeWithHistory and re-build from the SQL database recent history
  • do something smarter™

Metadata

Metadata

Assignees

Labels

storeRelated to the store component

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions