Expand description
Moving a row along, or out of, the chain of things that must be true before we submit. Decided from the database alone, so it keeps running during a Suotar outage.
Structsยง
- Pending
Move ๐
Constantsยง
- PRECONDITIONS_
LIMIT - How many rows one iteration may move.
Functionsยง
- pending_
moves ๐ - Only the rows whose facts disagree with the state they are in, so
limitcannot be spent on rows that need nothing. - recompute_
preconditions - Applies at most
limitmoves to the scoped rows and returns how many moved. - resume_
state ๐ - Where a
failed_retryablerow goes when its backoff elapses, derived from how far it had got. Neversubmitting: only the import phase writes that, in the transaction before it sends. - transition_
for ๐ - The transition each edge writes: kept out of the query so every edgeโs error code, admin flag and audit message sit in one place.