CatalogTrust

The trust rules of wow_catalog: a row is adopted only when every rule holds:

  1. its writer is a TrustedWriters account, trusted for the row's context;

  2. its table_uuid is the table's current uuid, so a row of a table dropped and created again is not taken;

  3. its columns_hash is columnsHash of the table's current columns, so the table is the one the Sink describes.

Of the rows that pass, the one written last is adopted: during a rolling upgrade several rows of one table stand side by side, and the one that matches the physical columns wins. Without one, the reasons each row was refused.

Types

Link copied to clipboard
sealed interface Verdict

What the rules made of a table's rows.

Functions

Link copied to clipboard

The digest of columns a wow_catalog row's columns_hash is compared with: SHA-256, in lower-case hex, of each column's <name> <type> as system.columns reads them, in order, one per line (as the Sink computes it).

Link copied to clipboard