On Wed, Nov 19, 2014 at 7:26 AM, Jeffrey Miller <
jef...@gmail.com> wrote:
> What is the expected behaviour for a single node etcd server that goes down
> and comes back up? Should it re-populate itself from the log file (if there
> is no snapshot)? If there is a snapshot and a log file, does it replay the
> logfile on top of the snapshot to re-populate?
It reads in the snapshot if it exists and applies that. Then it
applies the log entries. At that point it is ready to rejoin the
cluster. If it is missing log entries that the cluster has accepted
the current leader will send those to the newly restarted follower.
> Assuming one of these is true, does it do this automatically or is this a
> process that needs to be manually kicked off?
This all happens automatically in the scenario you described: if the
machine etcd was running on simply rebooted or the etcd process was
killed and restarted.
Thank You,
Brandon