sui icon indicating copy to clipboard operation
sui copied to clipboard

Refactor consensus output to write to an intermediate store before going to the db

Open mystenmark opened this issue 1 year ago • 1 comments

This PR should have no behavior changes. It introduces a new struct, ConsensusCommitOutput, which stores all writes generated while processing a consensus commit, prior to writing them to the db.

This is the first stage of caching/quarantining consensus-specific epoch-db state. The next step will be to hold ConsensusCommitOutput structs in memory until the checkpoints created for the commit have been certified. This will also require reading from ConsensusCommitOutput (or more likely, a broader caching struct which holds information from a set of ConsensusCommitOutput objects), since required information will not always be available from the db.

mystenmark avatar Jun 27 '24 23:06 mystenmark

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 11:34pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 11:34pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 11:34pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 11:34pm

vercel[bot] avatar Jun 27 '24 23:06 vercel[bot]