No description
Find a file
oss-core-libraries-dashboard[bot] 29a69d9a02
[COMPLIANCE] Update Copyright and License Headers (#13)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-02-20 15:29:04 +05:30
.gitignore Initial commit 2014-04-19 12:58:54 -07:00
.travis.yml Adding travis file 2014-04-19 13:36:22 -07:00
bench_test.go Add benchmarks 2015-01-30 16:01:24 -08:00
LICENSE [COMPLIANCE] Update Copyright and License Headers (#13) 2026-02-20 15:29:04 +05:30
mdb_store.go Docs typo 2015-08-06 16:40:19 -04:00
mdb_store_test.go Add benchmarks 2015-01-30 16:01:24 -08:00
README.md correct spelling mistake 2017-09-01 09:36:47 +01:00
util.go Switch to hashicorp version of msgpack 2014-10-17 18:30:51 -07:00

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.