Expand description
Logic and types for all appends executed by the Coordinator
.
Structs§
- Builtin
Table Append - Helper struct to run a builtin table append.
- Deferred
Plan - Describes a plan that is awaiting
WriteLocks
. - Deferred
Write - Group
Commit Notifier - A handle that allows us to notify the coordinator that a group commit should be run at some point in the future.
- Group
Commit Permit - A permit to run a group commit, this must be kept alive for the entire duration of the commit.
- Group
Commit Waiter - A handle that returns a future when a group commit needs to be run, and one is not currently being run.
Enums§
- Builtin
Table 🔒Update Source - Describes what action triggered an update to a builtin table.
- Deferred
Op - An operation that was deferred waiting on a resource to be available.
- Pending
Write 🔒Txn - 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§
- Builtin
Table Append Notify Future
that notifies when a builtin table write has completed.