fix(loki): let the WAL replay finish before a probe kills the pod #17
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/loki-wal-replay-startupprobe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
loki-0 crashlooped without end.
The WAL is 3.6 GiB in 124 segments. A replay of that size needs many minutes, and
/readyanswers 503 for all of it. SolivenessProbekilled the container 148 s after each start (60 s initial delay, then 3 failures at 30 s). Each kill replayed the same WAL from the start, so the replay could never finish and the ingester could never flush to MinIO.A
startupProbesuspends BOTH the readiness and the liveness probe until it passes. This gives the replay a 20 minute budget (120 tries at 10 s). The liveness probe then starts, unchanged, for steady state.Found while clearing DiskPressure on seanfarm-worker-069094.