Module appends

Source
Expand description

Logic and types for all appends executed by the Coordinator.

Structs§

BuiltinTableAppend
Helper struct to run a builtin table append.
DeferredPlan
Describes a plan that is awaiting WriteLocks.
DeferredWrite
GroupCommitNotifier
A handle that allows us to notify the coordinator that a group commit should be run at some point in the future.
GroupCommitPermit
A permit to run a group commit, this must be kept alive for the entire duration of the commit.
GroupCommitWaiter
A handle that returns a future when a group commit needs to be run, and one is not currently being run.

Enums§

BuiltinTableUpdateSource 🔒
Describes what action triggered an update to a builtin table.
DeferredOp
An operation that was deferred waiting on a resource to be available.
PendingWriteTxn 🔒
A pending write transaction that will be committing during the next group commit.

Statics§

REQUIRED_BUILTIN_TABLES 🔒
Tables that we emit updates for when starting a new session.

Functions§

notifier
Returns two sides of a “channel” that can be used to notify the coordinator when we want a group commit to be run.
waiting_on_startup_appends 🔒
When we start a Session we need to update some builtin tables, we don’t want to wait for these writes to complete for two reasons:

Type Aliases§

BuiltinTableAppendNotify
Future that notifies when a builtin table write has completed.