Posting revision 1: unmarked
Revision 1 is the original posting block. It has no marker byte and no revision byte. Its only identity is negative: the first byte of the value is not 0x00.
Read-only: SEAM 1 readers accept it, SEAM 1 writers do not produce it. Old stores keep these blocks until migration or a rewrite repacks them.
How a reader recognizes it
Section titled “How a reader recognizes it”The first byte is not 0x00. A value that starts with 0x00 is a marked block of revision 2 or later, see Block head.
Layout
Section titled “Layout”The head is varint n ‖ tiers ‖ bounds, with the same limits as every revision (n at most 1024, at most 4 tiers). The body is:
| Field | Encoding | Meaning |
|---|---|---|
| entries | n times the three fields below |
the sorted entries of the block |
shared |
varint | bytes shared with the previous key, at most the previous key length |
| suffix | varint len ‖ bytes |
the rest of the key |
| payload | varint len ‖ bytes |
the entry payload, see Posting payloads |
Keys are front-coded: each entry stores how many leading bytes it shares with the previous key and then the differing suffix.
What came next
Section titled “What came next”Revision 2 added the explicit marker and revision byte, and numeric key modes.