ExStorageService.Cluster.Health (ex_storage_service v0.6.4)

Copy Markdown View Source

Role-aware liveness and readiness checks.

Metadata readiness remains owned by Cluster.Readiness. Data-node health is injected so the private transport and repair planner can supply live cluster evidence without coupling this core module to an HTTP adapter.

Summary

Types

check_result()

@type check_result() :: {:ok, map()} | {:error, term()}

Functions

liveness(opts \\ [])

@spec liveness(keyword()) :: {:ok, map()} | {:error, map()}

readiness(opts \\ [])

@spec readiness(keyword()) :: {:ok, map()} | {:error, map()}