Skip to content

memvid

v2.0.140 Bugfix

This release fixes issues for SREs watching stability and regressions.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai context embedded faiss knowledge-base knowledge-graph
+13 more
llm machine-learning memory memvid mv2 nlp offline-first opencv python retrieval-augmented-generation semantic-search vector-db video-processing

Summary

AI summary

Fixed WAL corruption during region growth and leaked Tantivy temp directories.

Changes in this release

Bugfix High

Fixes WAL corruption caused by stale cached_payload_end after region growth.

Fixes WAL corruption caused by stale cached_payload_end after region growth.

Source: llm_adapter@2026-05-27

Confidence: high

Bugfix Medium

Prevents leakage of Tantivy temporary working directories on each put.

Prevents leakage of Tantivy temporary working directories on each put.

Source: llm_adapter@2026-05-27

Confidence: high

Full changelog

Bug fixes

#230 — WAL checksum mismatch after region growth

Sustained put + commit workloads that grew the embedded WAL could corrupt it, surfacing as Embedded WAL is corrupted at offset N: wal record checksum mismatch (and, in some reports, runaway sparse-file growth past EOF).

grow_wal_region / ensure_wal_capacity shifted the data region right by delta and updated data_end/footer_offset, but left cached_payload_end stale. rebuild_indexes then seeked to that pre-growth offset — now inside the grown WAL region — and overwrote live WAL record payloads. cached_payload_end is now advanced by the same delta, restoring the cached_payload_end >= wal_offset + wal_size invariant.

#215 — Tantivy working directories leaked to the system temp dir

Each put() that rebuilt the Tantivy index created a temporary working directory that was never cleaned up, accumulating indefinitely (notably on Windows). TantivyEngine declared its TempDir first, so it was dropped before the index/reader/writer released their open file handles and lock files — making the directory removal silently fail. The TempDir now drops last and the index writer is released first, so per-put working directories are cleaned up.

A commit_per_put_survives_wal_growth regression test covers the #230 path across multiple WAL growth cycles.

Full Changelog: https://github.com/memvid/memvid/compare/v2.0.139...v2.0.140

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track memvid

Get notified when new releases ship.

Sign up free

About memvid

All releases →

Related context

Beta — feedback welcome: [email protected]