hashicorp/raft-mdb

LMDB backend for Raft

Go

138

20 commits

updated Jul 21, 2026

See the code

README

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.

Documentation

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

Contributors

armon

14 commits

CalebAlbers

1 commits

EdwardBetts

1 commits

mkeeler

1 commits

hashicorp/raft-mdb

LMDB backend for Raft

Go

138

20 commits

updated Jul 21, 2026

See the code

README

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.

Documentation

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

Contributors

armon

14 commits

CalebAlbers

1 commits

EdwardBetts

1 commits

mkeeler

1 commits

Languages

Go

100.0%