hraft-dispatcher
hraft-dispatcher copied to clipboard
implement bbolt snapshot instead of file snapshot
Summary
currently, we use file snapshot(https://github.com/casbin/hraft-dispatcher/blob/main/store/store.go#L107) provided by hasicorp/raft, disk file will be fragmented when there are too many snapshot files, use bbolt snapshot instead of file snapshot should be efficiently.
bbolt: https://github.com/etcd-io/bbolt
Hi, I'm an applicant for GSOC Casbin Mesh project and I'd like to take this issue.