Expand description
Persistent metadata storage for the coordinator.
ModulesΒ§
- apply π
- Logic related to applying updates from a
mz_catalog::durable::DurableCatalogStateto aCatalogState. - builtin_
table_ πupdates - cluster_
state π - Projects a managed clusterβs durable catalog config into the
ExpectedClusterStatecompare-and-append witness, and checks a witness against the current config. - consistency π
- Internal consistency checks that validate invariants of
CatalogState. - migrate π
- open π
- Logic related to opening a
Catalog. - state π
- In-memory metadata storage for the coordinator.
- timeline π
- Logic related to timelines.
- transact π
- Logic related to executing catalog transactions.
StructsΒ§
- Builtin
Table Update - An update to a built-in table.
- Catalog
- A
Catalogkeeps track of the SQL objects known to the planner. - Catalog
State - The in-memory representation of the Catalog. This struct is not directly used to persist
metadata to persistent storage. For persistent metadata see
mz_catalog::durable::DurableCatalogState. - Conn
Catalog - Initialize
State Result - Injected
Audit Event - A manually injected audit event.
- Open
Catalog Result - Transaction
Result
EnumsΒ§
- Drop
Object Info - Almost the same as
ObjectId, but theClusterReplicacase has an extraReplicaCreateDropReasonfield. This is forwarded tomz_audit_events.detailswhen applying theOp::DropObjects. - Op
- Replica
Create Drop Reason - The reason for creating or dropping a replica.
- Update
Privilege Variant