Skip to main content

Module snapshot_rows

Module snapshot_rows 

Source
Expand description

Snapshot merge rows carry app values and generations; losses travel separately.

Structs§

AppliedWrite
Applied write metadata needed to reconstruct merge’s state without write bodies.
AuthoredChange
One kept change of the part before it in section 4, its verdict by the snapshot’s author, and the slot at which it stopped being current (D7.3).
AuthoredPart
One accepted write part’s shared details in a snapshot’s section 4 (D7.3), before its changes: the authored header. A part may hold fewer changes than its write made, the rest forgotten, so a row it doesn’t hold proves nothing about the write.
KeptChange
A net change’s kept record.
MergeRow
A row’s merge state, retained even while removal rules hide it from the app.
SyncedColumn
A synced column, named independently of device-local numeric ids.

Enums§

AuthoredRecord
A record of section 4: a part’s shared details, or one of its changes.
ChangeVerdict
How a device interpreted one original row change (§9.5, §14.1, §18.6, §19.4). It decides whether the change survives as a source for later changes, independently of dismissible losses and consumed slots.
KeptRecord
One row’s record of an accepted write part, as a device keeps it once the write is judged (D7.3): what later writes are judged against and what reopens the part’s leaves, without the values it replaced, the sources it built on or its SQL operations.
KeptValue
A value an accepted change wrote, as its kept record holds it (D7.3): in full when the column was a reference under the change’s schema, since a later write’s foreign-key actions read it and the parents it named; else only its digest, which tells whether a later delete shows the same value.