Skip to content

Widen tenant-3 health windows for slow first boots - #24

Merged
artemnikitin merged 3 commits into
mainfrom
fix/voting-only-health-window
Jul 24, 2026
Merged

Widen tenant-3 health windows for slow first boots#24
artemnikitin merged 3 commits into
mainfrom
fix/voting-only-health-window

Conversation

@artemnikitin

@artemnikitin artemnikitin commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

On AWS the tenant-3-elasticsearch-voting-only VM never joined the cluster: its cold first boot on 1 vCPU takes longer than the 20s × 3 (~60s) TCP health failure budget, so the agent restarted it just before the transport port opened, in a loop. _cat/nodes showed only the two data nodes — the tiebreaker (the point of the HA topology) was missing, while the same spec converged on GCP where boots ran faster.

Same failure mode and same fix as tenant-2 Kibana in #22: widen the failure budget past the observed cold-start time (30s × 5 ≈ 150s+). Applied to all three tenant-3 services — the data nodes made it inside ~60s this time on 4 vCPUs, but the margin is thin and a slow cold boot would put them in the same loop; keeping the budget consistent across the cluster avoids that.

Validation

  • configcheck --require-remote-routing: OK
  • Restart loop verified live in AWS agent logs 2026-07-17 (health failures at ~60s followed by service exceeded failure threshold, restarting, repeatedly)

🤖 Generated with Claude Code

artemnikitin and others added 2 commits July 17, 2026 15:08
The 20s x 3 (~60s) TCP failure budget restarted the VM before
Elasticsearch opened its transport port on a cold 1-vCPU boot, so the
tiebreaker never joined the AWS tenant-3 cluster. Widen to 30s x 5,
matching the budget tenant-2 kibana needed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@artemnikitin artemnikitin changed the title Widen tenant-3 voting-only health window for slow first boot Widen tenant-3 health windows for slow first boots Jul 17, 2026
@artemnikitin
artemnikitin merged commit a93b320 into main Jul 24, 2026
1 check passed
@artemnikitin
artemnikitin deleted the fix/voting-only-health-window branch July 24, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant