Bedrock.Durability.Profile (bedrock v0.6.0)
View SourceDurability profile evaluation model.
The profile currently verifies:
- desired replication factor
- desired logs
- persistent coordinator path
- persistent log path
- persistent materializer path
Summary
Functions
Evaluates durability requirements against a cluster module or config.
Types
@type check_name() ::
:desired_replication_factor
| :desired_logs
| :coordinator_persistence
| :coordinator_path
| :log_path
| :materializer_path
@type reason() ::
:desired_replication_factor_too_low
| :desired_logs_too_low
| :coordinator_persistence_disabled
| :missing_coordinator_path
| :missing_log_path
| :missing_materializer_path
@type status() :: :ok | :failed
@type t() :: %Bedrock.Durability.Profile{ checks: %{required(check_name()) => check_result()}, evaluated_at_ms: non_neg_integer(), reasons: [reason()], status: status() }