Bedrock.Internal.TransactionBuilder.State (bedrock v0.7.0)
View SourceInternal state structure for transaction building operations.
Summary
Types
@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, routing_fn: (Bedrock.key() -> {:ok, {Bedrock.key(), Bedrock.key(), [Bedrock.Internal.TransactionBuilder.LayoutIndex.server_ref()]}} | {:error, atom()}) | 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() }