Skip to content
LMDB backend for Raft
Branch: master
Clone or download
Latest commit 9ee9663 Aug 24, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Apr 19, 2014 correct spelling mistake Sep 1, 2017
bench_test.go Add benchmarks Jan 31, 2015
mdb_store.go Docs typo Aug 6, 2015
mdb_store_test.go Add benchmarks Jan 31, 2015
util.go Switch to hashicorp version of msgpack Oct 18, 2014

raft-mdb Build Status

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 here.

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 separate package from raft, so that clients can avoid cgo if they so choose.


The documentation for this package can be found on Godoc here.

You can’t perform that action at this time.