Trellis.CaptureWait (Trellis v0.1.0-alpha)

Copy Markdown View Source

What a transform's capture waits on: the staging worker's install, widen or uninstall (operation) of the capture triggers on table needs lock_mode, and another session holds or is queued for a conflicting lock. blockers has one line per such session. Nothing cancels them; the wait ends when they let go.

Summary

Types

t()

@type t() :: %Trellis.CaptureWait{
  blockers: [String.t()],
  lock_mode: String.t(),
  observed_at: DateTime.t(),
  operation: String.t(),
  table: String.t(),
  waiting_since: DateTime.t()
}