Design 47 H: H-A-255, the sweep reads the builds from a followed view, not pages; the cursor by sequence is H2
This commit is contained in:
@@ -1456,3 +1456,11 @@ Where two preparers disagreed, the chosen one is named.
|
||||
state read in pages costs the bucket once per page. The page read continues from the cursor the caller hands
|
||||
back (the last key's sequence), reading only what follows it, so a state is read once however many pages it takes.
|
||||
In mesh-tools, beside H-A-251. P7, P4.
|
||||
- **H-A-255 (the sweep reads the builds from a followed view, not pages; the cursor by sequence is H2, 11:56)**
|
||||
Amends H-A-250 (2) and H-A-254. The page read's contract is key order with a key as cursor, and the bus reads
|
||||
no key range, so a page read costs the bucket once per page: a large state read in pages costs more than key by
|
||||
key. (1) The artifact store's bundle reads the builder's builds as a followed view (the SDK's first view once at
|
||||
start, then its updates), and a pass judges from that view in memory: no bus read per pass at all. (2) H-A-254
|
||||
(pages in sequence order with an opaque cursor, a contract change in the SDK and its callers) is H2; in H1 the tool
|
||||
runner's page read stays as it is and nothing of H1 reads a large state in pages. P-NATS-native (a view followed,
|
||||
not a state replayed), P7.
|
||||
|
||||
Reference in New Issue
Block a user