Module mz_storage::healthcheck
source · Expand description
Healthcheck common
Structs§
- A default
HealthOperator
for use in normal cases. - A health message consumed by the
health_operator
.
Enums§
- NB: we derive Ord here, so the enum order matters. Generally, statuses later in the list take precedence over earlier ones: so if one worker is stalled, we’ll consider the entire source to be stalled.
- The namespace of the update. The
Ord
impl matter here, later variants are displayed over earlier ones.
Traits§
- A trait that lets a user configure the
health_operator
with custom behavior. This is mostly useful for testing, and theDefaultWriter
should be the correct implementation for everyone.
Functions§
- Writes updates that come across
health_stream
to the collection’s status shards, as identified by theirCollectionMetadata
.