diff --git a/store/store.go b/store/store.go index 395bffd0..0a1753a8 100644 --- a/store/store.go +++ b/store/store.go @@ -364,6 +364,7 @@ func New(ly Layer, c *Config) *Store { } return &Store{ + open: NewAtomicBool(), ly: ly, raftDir: c.Dir, snapshotDir: filepath.Join(c.Dir, snapshotsDirName),