address raft nil snapshot during flush

fix https://github.com/chrislusf/seaweedfs/issues/1718
This commit is contained in:
Chris Lu
2021-01-03 13:38:27 -08:00
parent 9c9ba3c209
commit c3f674ac1d
2 changed files with 3 additions and 1 deletions

2
go.mod
View File

@@ -11,7 +11,7 @@ require (
github.com/aws/aws-sdk-go v1.33.5
github.com/buraksezer/consistent v0.0.0-20191006190839-693edf70fd72
github.com/cespare/xxhash v1.1.0
github.com/chrislusf/raft v1.0.3
github.com/chrislusf/raft v1.0.4
github.com/coreos/go-semver v0.3.0 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/disintegration/imaging v1.6.2