Bedrock.Internal.TransactionBuilder.State (bedrock v0.6.0)

View Source

Internal state structure for transaction building operations.

Summary

Types

t()

@type t() :: %Bedrock.Internal.TransactionBuilder.State{
  active_range_queries: term(),
  commit_version: Bedrock.version() | nil,
  fastest_storage_servers: %{required(Bedrock.key_range()) => pid()},
  fetch_timeout_in_ms: pos_integer(),
  layout_index: Bedrock.Internal.TransactionBuilder.LayoutIndex.t(),
  read_version: Bedrock.version() | nil,
  stack: [Bedrock.Internal.TransactionBuilder.Tx.t()],
  state: :valid | :committed | :rolled_back,
  transaction_system_layout:
    Bedrock.ControlPlane.Config.TransactionSystemLayout.t(),
  tx: Bedrock.Internal.TransactionBuilder.Tx.t()
}