Skip to content

Releases: meilisearch/heed

v0.22.1-nested-rtxns-5

24 Oct 09:36
1ef547f

Choose a tag to compare

Pre-release

heed & heed3

This release brings a new experimental functionality: the possibility to create multiple nested read transactions from an uncommitted write transaction. You can also examine another usage in the dedicated example file or in this Meilisearch pull request.

We are attempting to merge the necessary changes to upstream LMDB, but it will require additional work to ensure it produces correct C code. You can review the dedicated OpenLDAP tracking issue to see how it progresses. The latest version of the LMDB is more stable, without memory leaks, and is capable of correctly interacting with the dirty pages list.

// opening a write transaction
let mut wtxn = env.write_txn()?;

// [use the RwTxn to write into the env]

// opening multiple read-only transactions without committing beforehand
let rtxns = (0..1000).map(|_| env.nested_read_txn(&wtxn)).collect::<heed::Result<Vec<_>>>()?;

// [use the RoTxns and move them onto different threads]

v0.22.1-nested-rtxns-4

23 Oct 15:33
3680d5a

Choose a tag to compare

Pre-release

heed & heed3

This release brings a new experimental functionality: the possibility to create multiple nested read transactions from an uncommitted write transaction. You can also examine another usage in the dedicated example file or in this Meilisearch pull request.

We are attempting to merge the necessary changes to upstream LMDB, but it will require additional work to ensure it produces correct C code. You can review the dedicated OpenLDAP tracking issue to see how it progresses.

// opening a write transaction
let mut wtxn = env.write_txn()?;

// [use the RwTxn to write into the env]

// opening multiple read-only transactions without committing beforehand
let rtxns = (0..1000).map(|_| env.nested_read_txn(&wtxn)).collect::<heed::Result<Vec<_>>>()?;

// [use the RoTxns and move them onto different threads]

v0.22.1-nested-rtxns

30 Sep 15:09
95a3907

Choose a tag to compare

v0.22.1-nested-rtxns Pre-release
Pre-release

heed & heed3

This release brings a new experimental functionality: the possibility to create multiple nested read transactions from an uncommitted write transaction. You can also examine another usage in the dedicated example file or in this Meilisearch pull request.

We are attempting to merge the necessary changes to upstream LMDB, but it will require additional work to ensure it produces correct C code. You can review the dedicated OpenLDAP tracking issue to see how it progresses.

// opening a write transaction
let mut wtxn = env.write_txn()?;

// [use the RwTxn to write into the env]

// opening multiple read-only transactions without committing beforehand
let rtxns = (0..1000).map(|_| env.nested_read_txn(&wtxn)).collect::<heed::Result<Vec<_>>>()?;

// [use the RoTxns and move them onto different threads]

v0.22.0

13 Mar 14:32
bc9cf18

Choose a tag to compare

heed & heed3

This release brings better-polished support for the heed/heed3 duality. It also improves the documentation, adds support for custom duplicate sort comparators, supports the PREV_SNAPSHOT flag, better support for Thread Local Storage (TLS)-backed of transactions, and bumps LMDB to the latest patch.

What's Changed

Full Changelog: v0.21.0...v0.22.0

v0.21.0 🗝

19 Feb 10:02
b47b72f

Choose a tag to compare

heed & heed3

This release introduces the first wrapper around the mdb.master3 LMDB branch, which features encryption at rest. You can use the new heed3 crate to read and write data encrypted on disk and decrypted on demand.

What's Changed

New Contributors

Full Changelog: v0.20.5...v0.21.0

v0.20.5 🛁

18 Aug 17:25
4a01acb

Choose a tag to compare

heed

What's Changed

  • fix function docs (clippy warnings) by @antonilol in #273
  • fix custom_key_cmp_wrapper being able to unwind to C code (ub) by @antonilol in #275

New Contributors

v0.20.4 🛁

12 Aug 17:43
52be23f

Choose a tag to compare

heed

What's Changed

New Contributors

v0.20.3 🛁

03 Jul 08:06
b9b2385

Choose a tag to compare

heed

What's Changed

v0.20.2 🛁

31 May 09:40
769c757

Choose a tag to compare

heed

What's Changed

  • Introduce the longer-keys feature which sets -DMDB_MAXKEYSIZE=0 by @tpunder in #263
  • Bump the internal LMDB version to v0.9.33 by @Kerollmops in #264

New Contributors

v0.20.1 🛁

16 May 15:37
2c90779

Choose a tag to compare

heed

What's Changed

New Contributors