Skip to main content

Module transact

Module transact 

Source
Expand description

Logic related to executing catalog transactions.

Structs§

InjectedAuditEvent
A manually injected audit event.
ObjectsToDrop 🔒
All of the objects that need to be removed in response to an Op::DropObjects.
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.
TransactInnerMode 🔒

Functions§

apply_replacement_audit_events 🔒
Generate audit events for a replacement apply operation.
refresh_window_decision_to_audit_log 🔒
Convert the controller’s on-refresh window decision into the audit log’s scheduling_policies detail: ids as strings and the hydration-time estimate as an interval string.
temporary_item_owner_session 🔒
Resolves the session UUID that durably owns a temporary item being created. The durable owner is the session that created the item.
tx_replace_item 🔒
Prepare the given transaction for replacing a catalog item with a new version.