ArchiveStorageHealth
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
Backend-agnostic health classification for an archive's underlying storage table. Concrete data-store providers (CrateDB today; other time-series engines in the future) map their native health signal — replica state, sharding state, missing partitions — onto this small enum so callers can render a uniform badge without leaking backend vocabulary.
public enum ArchiveStorageHealth
Inheritance Object → ValueType → Enum → ArchiveStorageHealth
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | The provider could not determine a health state (e.g. the backing table doesn't exist yet, or the introspection query failed). UI should render this distinctly from ArchiveStorageHealth.Good rather than treating it as a green state. |
| Good | 1 | All shards / replicas / partitions are present and reachable. |
| Warning | 2 | The table is operational but degraded — e.g. some replicas are unassigned or rebalancing is in progress. Reads and writes still work; operator attention is advisable but not urgent. |
| Critical | 3 | One or more primary shards / partitions are missing. The table may be returning incomplete query results or rejecting writes. Operator action required. |