Concord.StateMachine.Core.State (Concord v3.0.2)

Copy Markdown View Source

Complete immutable state of the Concord key-value service.

The legacy and MVCC representations intentionally coexist while the public command formats are supported. Unlike the former protocol adapter, no service data is stored outside this value.

Summary

Types

t()

@type t() :: %Concord.StateMachine.Core.State{
  command_count: non_neg_integer(),
  compact_revision: non_neg_integer(),
  current: map(),
  history: map(),
  index_entries: map(),
  indexes: map(),
  leases: map(),
  next_lease_id: pos_integer(),
  representation: :current | :legacy,
  requests: map(),
  revision: non_neg_integer(),
  store: map()
}