aboutsummaryrefslogtreecommitdiff
path: root/weed/command/gateway.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2021-04-10 02:36:53 -0700
committerChris Lu <chris.lu@uber.com>2021-04-10 02:36:53 -0700
commit98c08a3dcd3d3a3115828dc04b5f11e56cd67489 (patch)
tree8b0dc3dd16e44a7ced9834a9bf147818bdd330e2 /weed/command/gateway.go
parent0b82edc0d28424597b6537308756971d017f59ce (diff)
downloadseaweedfs-98c08a3dcd3d3a3115828dc04b5f11e56cd67489.tar.xz
seaweedfs-98c08a3dcd3d3a3115828dc04b5f11e56cd67489.zip
raft: fix possible nil
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1962c8a] goroutine 68239935 [running]: github.com/chrislusf/raft.(*LogEntry).Term(...) /home/travis/gopath/pkg/mod/github.com/chrislusf/raft@v1.0.4/log_entry.go:59 github.com/chrislusf/raft.(*server).TakeSnapshot(0xc00014f320, 0xc028b5a600, 0xc03995bc00) /home/travis/gopath/pkg/mod/github.com/chrislusf/raft@v1.0.4/server.go:1276 +0x50a github.com/chrislusf/raft.(*server).maybeTakeSnapshot.func1(0xc00014f320) /home/travis/gopath/pkg/mod/github.com/chrislusf/raft@v1.0.4/server.go:1221 +0x5b created by github.com/chrislusf/raft.(*server).maybeTakeSnapshot /home/travis/gopath/pkg/mod/github.com/chrislusf/raft@v1.0.4/server.go:1219 +0x98
Diffstat (limited to 'weed/command/gateway.go')
0 files changed, 0 insertions, 0 deletions