panic: entries[202629:226250) is unavailable from storage
goroutine 1 [running]:
log.(*Logger).Panicf(0xc000248fa0, 0x5195552, 0x2a, 0xc02ab67360, 0x2, 0x2)
/usr/local/go/src/log/log.go:228 +0xc1
github.com/zhangjinpeng1987/raft.(*DefaultLogger).Panicf(0x60d1bc0, 0x5195552, 0x2a, 0xc02ab67360, 0x2, 0x2)
/Users/zhou/gopath/pkg/mod/github.com/zhangjinpeng1987/[email protected]/logger.go:121 +0x60
github.com/zhangjinpeng1987/raft.(*RaftLog).slice(0xc000345500, 0x31785, 0x373ca, 0xffffffffffffffff, 0x1, 0x0, 0x1, 0xc045af6840, 0x0)
/Users/zhou/gopath/pkg/mod/github.com/zhangjinpeng1987/[email protected]/log.go:337 +0x5a0
github.com/zhangjinpeng1987/raft.(*Raft).Step(0xc0000d6a00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/zhou/gopath/pkg/mod/github.com/zhangjinpeng1987/[email protected]/raft.go:957 +0x95
github.com/zhangjinpeng1987/raft.(*RawNode).Campaign(...)
/Users/zhou/gopath/pkg/mod/github.com/zhangjinpeng1987/[email protected]/rawnode.go:142
github.com/ngaut/unistore/tikv/raftstore.NewPeer(0x1, 0xc000444600, 0xc0003c3f50, 0xc00017e680, 0xc02ab6e1e0, 0xc00042b780, 0x2, 0xc000072c00, 0x7940108)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/peer.go:358 +0x785
github.com/ngaut/unistore/tikv/raftstore.createPeerFsm(0x1, 0xc000444600, 0xc02ab6e1e0, 0xc0003c3f50, 0xc00017e680, 0x0, 0x0, 0xc045af3238)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/fsm_peer.go:72 +0x141
github.com/ngaut/unistore/tikv/raftstore.(*raftBatchSystem).loadPeers.func1(0xc02ab70090, 0x0, 0x0)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/fsm_store.go:283 +0x587
github.com/coocood/badger.(*DB).View(0xc0002f0900, 0xc006ead7e0, 0x0, 0x0)
/Users/zhou/gopath/pkg/mod/github.com/coocood/[email protected]/transaction.go:568 +0x80
github.com/ngaut/unistore/tikv/raftstore.(*raftBatchSystem).loadPeers(0xc00018a870, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/fsm_store.go:240 +0x35b
github.com/ngaut/unistore/tikv/raftstore.(*raftBatchSystem).start(0xc00018a870, 0xc0002ba250, 0xc000444600, 0xc0003c3f50, 0x5353d40, 0xc0000a2500, 0x53977e0, 0xc006e1e000, 0xc0000a2370, 0xc00018a5d0, ...)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/fsm_store.go:413 +0x674
github.com/ngaut/unistore/tikv/raftstore.(*Node).startNode(0xc0000a2410, 0xc0003c3f50, 0x5353d40, 0xc0000a2500, 0xc0000a2370, 0xc00018a5d0, 0x0, 0x0)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/node.go:251 +0x144
github.com/ngaut/unistore/tikv/raftstore.(*Node).Start(0xc0000a2410, 0x5380e60, 0xc000122008, 0xc0003c3f50, 0x5353d40, 0xc0000a2500, 0xc0000a2370, 0xc00018a5d0, 0xc0001a2380, 0x40665a0, ...)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/node.go:93 +0x197
github.com/ngaut/unistore/tikv/raftstore.(*RaftInnerServer).Start(0xc0002ba240, 0x53977e0, 0xc006e1e000, 0xc0001a2400, 0x5383420)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/tikv/raftstore/server.go:156 +0x2a0
main.setupRaftInnerServer(0xc00021e0c0, 0xc0001231c8, 0x53977e0, 0xc006e1e000, 0xc000102a80, 0x53977e0, 0xc006e1e000, 0x0, 0x0, 0xc)
/Users/zhou/gorepo/src/github.com/ngaut/unistore/unistore-server/main.go:278 +0x6b3
main.main()
/Users/zhou/gorepo/src/github.com/ngaut/unistore/unistore-server/main.go:137 +0x540