ExStorageService.Cluster.DataReadiness (ex_storage_service v0.6.2)

Copy Markdown View Source

Verifies that a cluster data node can satisfy its configured write quorum.

Membership is read strongly. The local node is checked against its storage roots and engine process; remote eligible data nodes are checked through the authenticated internal transport health endpoint.

Summary

Functions

check(context, opts \\ [])

@spec check(
  ExStorageService.Context.t(),
  keyword()
) :: {:ok, map()} | {:error, term()}