
This repository provides the raftmdb package. the package exports the mdbstore which is an implementation of both a logstore and stablestore.
it is meant to be used as a backend for the raft package.
this implementation uses lmdb. lmdb has a number of advantages to other embedded databases includes transactions, mvcc, and lack of compaction.
the one disadvantage is because it is a c library, it requires the use of cgo which complicates cross compilation. for that reason, this is in a seperate package from raft, so that clients can avoid cgo if they so choose.
this package contains the source.