Skip to content

Releases: meilisearch/heed

v0.22.1

Choose a tag to compare

@Kerollmops Kerollmops released this 07 Apr 09:29
86cd1f6

heed & heed3

This release brings a new 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.

We finally merged the changes to upstream LMDB (mdb.master3), and the patch has been thoroughly reviewed by Howard Chu.

// 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<_>>>()?;

// you can also spawn nested read transactions from the write txn too
let rtxns = (0..1000).map(|_| wtxn.nested_read_txn()).collect::<heed::Result<Vec<_>>>()?;

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

v0.22.1-nested-rtxns-7

Pre-release

Choose a tag to compare

@Kerollmops Kerollmops released this 24 Feb 16:59
8ff7cde

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<_>>>()?;

// you can also spawn nested read transactions from the write txn too
let rtxns = (0..1000).map(|_| wtxn.nested_read_txn()).collect::<heed::Result<Vec<_>>>()?;

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

v0.22.1-nested-rtxns-5

Pre-release

Choose a tag to compare

@Kerollmops Kerollmops released this 24 Oct 09:36
1ef547f

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

Pre-release

Choose a tag to compare

@Kerollmops Kerollmops released this 23 Oct 15:33
3680d5a

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

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

Choose a tag to compare

@Kerollmops Kerollmops released this 30 Sep 15:09
95a3907

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

Choose a tag to compare

@Kerollmops Kerollmops released this 13 Mar 14:32
bc9cf18

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 🗝

Choose a tag to compare

@Kerollmops Kerollmops released this 19 Feb 10:02
b47b72f

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 🛁

Choose a tag to compare

@Kerollmops Kerollmops released this 18 Aug 17:25
4a01acb

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 🛁

Choose a tag to compare

@Kerollmops Kerollmops released this 12 Aug 17:43
52be23f

heed

What's Changed

New Contributors

v0.20.3 🛁

Choose a tag to compare

@Kerollmops Kerollmops released this 03 Jul 08:06
b9b2385

heed

What's Changed