df716fccc6
When doing an initEtcd (new instance or etcd reset) create a new wal (that will have a new sequence epoch) and do a checkpoint. In this way: * readdb will detect that an epoch change and do a full resync * we always have a data file (also if empty) that provides the last checkpointed wal. This information could be used by readdb to resync |
||
---|---|---|
.. | ||
changes.go | ||
data.go | ||
datamanager_test.go | ||
datamanager.go | ||
wal.go |