Skip to content

Pigeonhole 0.2.5

Choose a tag to compare

@CodingAnarchy CodingAnarchy released this 22 Oct 20:31
· 1264 commits to main since this release
e838317

One engine fix from main, also released as 0.3.2 (#904). Upgrade recommended for every 0.2.x user: after an open with a different shard count, or one whose replay spilled, a crash before the next manifest commit could let later default-timestamp writes land below existing versions of a cell (a lost update). The file format is unchanged; files written by 0.2.0 to 0.2.4 open as before.

Fixed

  • A reopen that flushes its replay keeps the timestamp floor above the replayed writes (#904). An open with a different shard count, or one whose replay spilled to SSTs, flushes everything it replayed and checkpoints the WAL past it, but its manifest commit left the default-timestamp floor where it was. After a crash before the next manifest commit, the next open found nothing to replay and started its default timestamps from that lower floor, so with the clock behind the replayed writes' timestamps (it stepped back, or default timestamps had run ahead of it) a new default-timestamp write could land below an existing version of the same cell and stay hidden behind it: a lost update (#653's class). The floor now carries the replayed timestamps. Present since 0.2.0.