Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Persist large gappy state blocks as a single snapshot #211

@DMRobertson

Description

@DMRobertson

Ideally, we would instead make the events in the state block part of the state snapshot and then add new timeline events in Accumulate only. This:

  • more accurately maps onto what upstream is telling us.
  • is much faster as we aren't calculating state snapshots for each 10,000s event.

This implies a third function in the accumulator between Initialise and Accumulate which can both snapshot and roll forward the timeilne in a single txn.

Originally posted by @kegsay in #196 (comment)

Original gappy state impl in #71.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions