Stats revision 2
Introduced in SEAM 1No changes since SEAM 1Readable by builds ≥ SEAM 1Pre-release stamp 4No stamp bump
Only builds that include stats revision 2 support read it; older builds report NewerFormat("block stats").
Stats revision 2 is the block stats frame with the version byte set to 2. It adds one varint versions code per block after the per-block records (SPEC V737). SEAM 1 writers produce it.
It goes together with footer revision 5: that footer sets the BLOCK_COUNTS flag, see Footer flags. Revision 5 is the default for every new file with a stats frame.
Layout difference from revision 1
Section titled “Layout difference from revision 1”| Part | Revision 1 | Revision 2 |
|---|---|---|
version byte |
1 | 2 |
| per-block records | yes | yes, unchanged |
| per-block varint versions code | no | yes, after all per-block records |
Introduced without a stamp bump
Section titled “Introduced without a stamp bump”Revision 2 was added to the format without raising the store stamp, because the frame describes its own revision. A build that does not know revision 2 fails with NewerFormat("block stats").