cosmos / iavl

Merkleized IAVL+ Tree implementation in Go
Apache License 2.0
413 stars 256 forks source link

feat: async commit #826

Closed cool-develope closed 9 months ago

cool-develope commented 11 months ago

closes: #819

tac0turtle commented 11 months ago

Can we delete without waiting to finish the write? Do snapshots also work from the state within memory or there is a need to wait for the version to be written to disk?

cool-develope commented 10 months ago

Can we delete without waiting to finish the write? Do snapshots also work from the state within memory or there is a need to wait for the version to be written to disk?

yeah, it is possible, it will require more detailed management of the write routine. I will try it after fixing the test failures.

tac0turtle commented 9 months ago

closing this based off recent discussions on iavlv2