Skip to content

HA_K8S_DNS_SUFFIX is applied only to the self-advertised host, not to peer addresses — dead/misleading knob, silent join failures on misconfig #4838

Closed

Description

@ruispereira

Affected version: 26.6.1
Component: ArcadeDBServer.assignHostAddress vs RaftHAServer peer parsing
Severity: LOW

Summary

assignHostAddress sets the self host to HOSTNAME + HA_K8S_DNS_SUFFIX, but
RaftHAServer derives all peer addresses from serverList/server.name and never
reads getHostAddress(). The suffix is not applied to peers.

Code

ArcadeDBServer.assignHostAddress (self host = HOSTNAME + suffix); RaftHAServer.java:134-141
(peer addresses from serverList, never getHostAddress()).

Impact

Setting k8sSuffix while writing short names in serverList yields peers that
don't resolve (NXDOMAIN) — a silent join failure; the suffix is effectively dead
for peer resolution.

Suggested fix

Apply HA_K8S_DNS_SUFFIX consistently to peer hostnames in K8s mode, or document
that serverList must contain fully-qualified pod-N.<svc> names and the suffix
affects only self-advertisement.

Activity

  1. self-assigned this
    on Jun 30, 2026
  2. added this to the 26.7.1 milestone on Jun 30, 2026
  3. added 2 commits that reference this issue on Jul 1, 2026
  4. added a commit that references this issue on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions