Skip to main content

READER_LEASE_EXPIRED_EXIT_CODE

Constant READER_LEASE_EXPIRED_EXIT_CODE 

Source
pub const READER_LEASE_EXPIRED_EXIT_CODE: i32 = 168;
Expand description

The exit code of a process halted because a live reader lost its lease.

Distinct from halt!’s 166 so alerting can tell a lost lease from a routine restart; cloud alerting matches on it. Under Kubernetes the pod is restarted (with crash backoff), as for any non-zero exit.