Module mz_adapter::coord::appends

source ·
Expand description

Logic and types for all appends executed by the Coordinator.

Structs

  • Helper struct to run a builtin table append.
  • This is the struct meant to be paired with Message::WriteLockGrant, but could theoretically be used to queue any deferred plan.
  • A handle that allows us to notify the coordinator that a group commit should be run at some point in the future.
  • A permit to run a group commit, this must be kept alive for the entire duration of the commit.
  • A handle that returns a future when a group commit needs to be run, and one is not currently being run.

Enums

  • Describes what action triggered an update to a builtin table.
  • Deferred 🔒
    An operation that is deferred while waiting for a lock.
  • A pending write transaction that will be committing during the next group commit.

Functions

  • Returns two sides of a “channel” that can be used to notify the coordinator when we want a group commit to be run.

Type Aliases