Skip to content
Commit Detail

Commit 52be37e

Author
Rachel Chen <rachel@chens.email> 2022-08-15 18:44:28 -0700
Parents
31805a0
Tree
43ed798
kv/aof: implement append only persistence

This commit introduces a new chord.KVProvider implementation that will
persist most kv mutations to disk with append-only logs, and restoring
the in-memory state on start-up by replaying the logs. Lease operations
are not persisted as they are deemed volatile, and the new KV
implementation is meant for persisting SimpleKV and PrefixKV which they
are much more useful in case the node crashes.

Files changed

12 files changed+9 added~3 modified