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Β§

CommandExecutionError πŸ”’
CommandWork πŸ”’
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
OperationGroup πŸ”’
ReplicaCreateDropReason
The reason for creating or dropping a replica.
TransactInnerMode πŸ”’
TransactionOperations πŸ”’

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.