agola/internal/datamanager
Simone Gotti df716fccc6 datamanager: create a new wal and checkpoint in initEtcd
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
2019-07-18 16:44:28 +02:00
..
changes.go datamanager: fix linter errors 2019-07-02 14:27:51 +02:00
data.go datamanager: always handle basepath 2019-07-03 17:03:37 +02:00
datamanager.go datamanager: add deleteEtcd method 2019-07-18 16:40:28 +02:00
datamanager_test.go datamanager: add option to force a checkpoint 2019-07-18 16:44:27 +02:00
wal.go datamanager: create a new wal and checkpoint in initEtcd 2019-07-18 16:44:28 +02:00