зеркало из https://github.com/mozilla/gecko-dev.git
ac0e950c6e
This patch implements the auto resizing to handle the MDB_MAP_FULL error. It adds two resizing strategies: 1). Active resizing to increase the store size when it gets opened; 2). Passive resizing to increase the store size when the write transaction encounters the MDB_MAP_FULL error. There are no changes to kvstore APIs, existing consumers will get this feature working without any changes to their code. Differential Revision: https://phabricator.services.mozilla.com/D32216 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
src | ||
.cargo-checksum.json | ||
Cargo.toml | ||
LICENSE | ||
README.md |
README.md
lmdb-rs
Idiomatic and safe APIs for interacting with the Symas Lightning Memory-Mapped Database (LMDB).
This repo is a fork of danburkert/lmdb-rs with fixes for issues encountered by mozilla/rkv.
Building from Source
git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs
cargo build
Features
- lmdb-sys.
- Cursors.
- Zero-copy put API.
- Nested transactions.
- Database statistics.