Design 47 H2, design 25, glossary: follow ADR 0690 (a ledger's state takes its cap; a snapshot goes with its key)
ADR 0690, accepted 2026-11-25 on the operator's Approve, decides what H-A-636 built (a ledger's state and index buckets at the ledger's max-mib, changing ADR 0595 §3) and that an ended instance's snapshot carries its state key's lifetime (changing ADR 0597 §8). So H-A-638's withdrawal of H-A-636 and its revert of mesh-catalog 0f648e26 are dropped, H-A-636 stands by ADR 0690 §1, and H-A-634 (1), (3), (4), (8) and its checks follow both clauses: every snapshot write carries the state write's lifetime, a rebuild leaves none past it, the bus module plans the snapshot store with a lifetime per message, and the state's room is the ledger's 1 GiB. Design 25 § 12.1's ledger row, § 12.7 and the glossary's snapshot, which said "never expiring", say the same.
This commit is contained in:
+6
-2
@@ -1130,8 +1130,12 @@ becomes a message). **Decided by** ADR 0227, 0231, 0240, 0252, 0283, 0564, 0668.
|
||||
- **ledger** — a storage type keeping, per instance of a type, a history of every **operation** (one change, kept
|
||||
in order) and a state derived from that history by each operation's **ledger effect** (one of a fixed set: set
|
||||
fields, set an entry of a map, append to a list, remove), through the tool runner's `apply` (ADR 0597).
|
||||
- **snapshot** of a ledger's state — the latest state of one instance, on a subject of its own, never expiring,
|
||||
from which a rebuild starts; distinct from the stream snapshot.
|
||||
- **snapshot** of a ledger's state — the latest state of one instance, on a subject of its own in the ledger's
|
||||
**snapshot store** (a stream of the ledger beside its history, one message per instance), from which a rebuild
|
||||
starts. It never expires, save in a ledger whose own configuration gives its instances an end: an ended instance's
|
||||
snapshot carries the lifetime of its state key and goes with it, and a rebuild leaves none of an instance past that
|
||||
lifetime (ADR 0597 §8, ADR 0690 §2). Distinct from the stream snapshot; a ledger's snapshot store is never bare where
|
||||
it could be read as where the bus keeps its stream snapshots.
|
||||
|
||||
## Connectivity — how nodes and modules reach one another
|
||||
|
||||
|
||||
Reference in New Issue
Block a user