Skip to content

Pigeonhole 0.2.6

Choose a tag to compare

@CodingAnarchy CodingAnarchy released this 29 Oct 04:17
· 1262 commits to main since this release
238f479

One engine fix from main (#1056), also released as 0.3.4, and the zstd security update 0.3.3 shipped. Upgrade recommended for every 0.2.x user: if a table was dropped just after a compaction of it had finished its work but before the compaction committed, the compaction's output space could be freed twice, and another flush or compaction writing at the same moment could then lose space it was still using, which corrupts the data it writes. zstd moves to 0.14.3, clearing RUSTSEC-2026-0391, 0398, 0403 and 0410 (Pigeonhole never used the affected stream API; compressed blocks are byte-identical). The file format is unchanged; files written by 0.2.0 to 0.2.5 open as before.

Fixed

  • A compaction's output is freed once, not twice, when its table is dropped just before the compaction commits (#1056). If a drop_table committed after a compaction had checked its table but before the compaction's own manifest commit, the manifest freed the compaction's output SST twice: once as an orphan, and again as the refused request's output, for a compaction with a purge guard or new blob files. Another flush or compaction allocating space between the two could lose an extent it still used, which it then published over free space. Present since 0.2.0.

Security

  • zstd is now 0.14.3, with zstd-safe 8.2 and zstd-sys 2.1.2, up from 0.13.3. The upgrade clears RUSTSEC-2026-0391, 0398, 0403 and 0410. Pigeonhole called only zstd's one-shot bulk API and never the stream encoders or decoders those advisories describe. The bundled libzstd is still 1.5.7, so compressed blocks are byte-identical. Files written by earlier releases read as before, and a test now decodes a zstd-sealed block written by 0.13.