Skip to main content

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 ObjectValueTypeEnumArchiveStorageHealth
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Unknown0The 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.
Good1All shards / replicas / partitions are present and reachable.
Warning2The 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.
Critical3One or more primary shards / partitions are missing. The table may be returning incomplete query results or rejecting writes. Operator action required.