mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: save confstate when apply new snapshot
This commit is contained in:
parent
3c9c4c4afa
commit
6e1aecfc6f
@ -387,6 +387,7 @@ func (s *EtcdServer) run() {
|
||||
}
|
||||
s.Cluster.Recover()
|
||||
appliedi = rd.Snapshot.Metadata.Index
|
||||
confState = rd.Snapshot.Metadata.ConfState
|
||||
log.Printf("etcdserver: recovered from incoming snapshot at index %d", snapi)
|
||||
}
|
||||
// TODO(bmizerany): do this in the background, but take
|
||||
|
Loading…
x
Reference in New Issue
Block a user