Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 15:37

LeanLmdb 0.2.0

Adds explicit LMDB synchronization control for rebuildable derived stores:

  • durability: :sync — fully synchronized LMDB commits (default)
  • durability: :no_meta_sync — preserve ACI; a system crash may undo the latest transaction
  • durability: :no_sync — omit commit-time flushes for maximum throughput; recent data may be lost and filesystems that reorder writes can leave the derived database corrupt after a system crash
  • LeanLmdb.sync/1 — force data and metadata to durable storage, suitable for supervised delayed checkpoints
  • fixed_map: true — opt-in experimental MDB_FIXEDMAP

NO_LOCK, WRITE_MAP, and MAP_ASYNC remain unavailable. Durability and fixed-map settings are immutable compatibility attributes of a shared environment.

Also includes comprehensive Benchee workloads, JSON results, interactive HTML charts, and configuration matrices.

All seven NIF 2.16 archives were built from commit 5d0949240b6bce59b805483343d5784d90f127b2, directly smoke-tested (including :no_sync plus forced sync), and checksum-verified before publication.