Skip to content

Pigeonhole 0.3.4

Choose a tag to compare

@CodingAnarchy CodingAnarchy released this 29 Oct 10:52
· 1017 commits to main since this release
8ceb471

One engine fix from main (#1056), also released as 0.2.6. Upgrade recommended for every 0.3.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. The file format and the shared-memory layout are unchanged; files written by 0.3.0 through 0.3.3 open as before, and 0.3.3 opens files written by 0.3.4.

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.