Skip to content

pre-3

Pre-release formats

pre-3 added one structure: columnar block revision 4. It lets an integer value column be derived from a field of the row’s key instead of being stored. See Key references and Column slot.

Revision 4 uses the same layout as revisions 1 to 3 with one extra reference form in each column slot. Readers expand key references into the revision 3 layout in memory before use, and a corrupt reference is Corrupt.

Step 4 remains. Step 4 is both a columnar and a value step, so a columnar file, or a file holding posting blocks the upgrade hook can pack, is rewritten when that shrinks it to 99 percent of its size or less; any other file is relabelled with one MANIFEST edit. See Migration.

The golden fixture for pre-3 holds key-reference blocks. See Golden fixtures.