diff --git a/generation.go b/generation.go index c22b73867..f3cc6ae88 100644 --- a/generation.go +++ b/generation.go @@ -333,6 +333,7 @@ func newGeneration(existing generation, path string, readData bool, setup func([ m := mmapGeneration{path: path, logger: logger} if existing != nil { m.generation = existing.Generation() + 1 + m.retries = existing.(*mmapGeneration).retries // we might keep a previous generation around just for its generation count. if !existing.Dead() { defer existing.Done()