Skip to main content

Module catalog

Module catalog 

Source
Expand description

Persistent metadata storage for the coordinator.

ModulesΒ§

apply πŸ”’
Logic related to applying updates from a mz_catalog::durable::DurableCatalogState to a CatalogState.
builtin_table_updates πŸ”’
cluster_state πŸ”’
Projects a managed cluster’s durable catalog config into the ExpectedClusterState compare-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Β§

BuiltinTableUpdate
An update to a built-in table.
Catalog
A Catalog keeps track of the SQL objects known to the planner.
CatalogState
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.
ConnCatalog
InitializeStateResult
InjectedAuditEvent
A manually injected audit event.
OpenCatalogResult
TransactionResult

EnumsΒ§

DropObjectInfo
Almost the same as ObjectId, but the ClusterReplica case has an extra ReplicaCreateDropReason field. This is forwarded to mz_audit_events.details when applying the Op::DropObjects.
Op
ReplicaCreateDropReason
The reason for creating or dropping a replica.
UpdatePrivilegeVariant

FunctionsΒ§

catalog_type_to_audit_object_type πŸ”’
comment_id_to_audit_object_type πŸ”’
is_public_role
is_reserved_name
is_reserved_role_name
object_type_to_audit_object_type πŸ”’
system_object_type_to_audit_object_type πŸ”’