Module mz_storage::healthcheck

source ·
Expand description

Healthcheck common

Structs

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.

Constants

  • How long to wait before initiating a SuspendAndRestart command, to prevent hot restart loops.

Traits

  • A trait that lets a user configure the health_operator with custom behavior. This is mostly useful for testing, and the DefaultWriter should be the correct implementation for everyone.

Functions

  • Writes updates that come across health_stream to the collection’s status shards, as identified by their CollectionMetadata.