ViewstampedReplication.Transport.Distribution (viewstamped_replication v0.1.0)

Copy Markdown View Source

Explicit distributed-Erlang endpoint delivery.

Endpoint maps are configuration, not discovery. This adapter never calls Node.list/0 and does not infer membership from node connectivity.

Summary

Types

endpoint()

@type endpoint() ::
  pid()
  | {atom(), node()}
  | node()
  | %{:node => node(), optional(:replica_id) => term()}

t()

@type t() :: %ViewstampedReplication.Transport.Distribution{endpoints: map()}

Functions

new(opts)

@spec new(keyword()) :: t()