Pre-release formats
Before the first public release, LUMA stores carried an internal format number from 1 to 4. This wiki calls those numbers pre-release stamps. They are not SEAM versions and will not be used for anything new. They matter only because stores written by pre-release builds can still be opened by SEAM 1 builds, and because the on-disk bytes of a SEAM 1 store still record a stamp.
SEAM 1 is defined as exactly the layout of pre-4. A store at pre-4 needs no byte-level migration.
Mapping table
Section titled “Mapping table”| Pre-release stamp | What it added or changed | Migration steps to SEAM 1 | How it migrates to SEAM 1 |
|---|---|---|---|
| Stamp 1 Baseline |
| Steps 2, 3 and 4 | The first open by a SEAM 1 build rewrites the MANIFEST with the 24-byte header. Files stay readable as they are; the background migrator then rewrites or relabels each one. |
| Stamp 2 Stamped MANIFEST and posting revision 3 | Steps 3 and 4 | The MANIFEST is already stamped, so the open rewrite only changes the stamp. Files are migrated by the scoped rules in the migration page. | |
| Stamp 3 Key references | Step 4 | Columnar files and files with upgradable posting blocks are rewritten when that shrinks them to 99 percent or less; every other file is relabelled. | |
| Stamp 4 The layout SEAM 1 adopts | None | No byte-level migration. SEAM 1 freezes exactly this layout, so a store at this stamp needs no rewriting. |
A “step” is one stamp number the migrator must climb: a file at pre-1 has steps 2, 3 and 4 ahead of it. Step 2 is a value step (posting blocks), step 3 is a columnar step, and step 4 is both. The rewrite and relabel rules are on Migration.
How the stamp is recorded
Section titled “How the stamp is recorded”| Where | Field | What it holds |
|---|---|---|
| MANIFEST header | store_format |
The stamp of the whole store. A store with the legacy 8-byte header is pre-1. |
| MANIFEST tag 5 | per-file format | The stamp each data file conforms to. Absent means every file is pre-1. |
A store becomes “current” at one durable point, before any current-format byte is written, and there is no way back. See Rewrite and format stamp and Compatibility rules.
The stamps
Section titled “The stamps”- pre-1: the baseline
- pre-2: stamped MANIFEST header, per-file stamps, posting revision 3
- pre-3: columnar revision 4 (key references)
- pre-4: columnar revision 5, posting revisions 4 and 5, and the layout SEAM 1 adopts