diff --git a/snap/snapshotter.go b/snap/snapshotter.go index e7a07d4cc..1f3ce6fa6 100644 --- a/snap/snapshotter.go +++ b/snap/snapshotter.go @@ -82,6 +82,7 @@ func (s *Snapshotter) Load() (*raft.Snapshot, error) { } if err = json.Unmarshal(serializedSnap.Data, &snap); err != nil { log.Printf("Corruptted snapshot file %v: %v", name, err) + continue } break }