Skip to content

zero reconciliation loop #9777

Description

@bputt-e

We're having intermittent connectivity with the zero and we believe it's due to the recent improvements where the zero will update its internal host name based on the "my" flag, might be related to #9680

Logs

# zero seeing this every few secs
raft.go:801] Zero address reconciliation complete: all addresses up to date

# alpha logs, at least the 3rd alpha seems to be having connectivity issues
groups.go:735] Found connection to leader: fqdn.mydomain.com:5080
groups.go:689] No healthy zero leader found. Trying to find a Zero leader...
groups.go:735] Found connection to leader: fqdn.mydomain.com:5080

Expected behavior

I expect the zero to not consistently produce the log message raft.go:801] Zero address reconciliation complete: all addresses up to date and for the 3rd alpha to have a stable connection

Environment

  • OS: RHEL 9.8
  • Version 25.3.7

Additional context

We're running dgraph via podman
Configuration: 1 zero, 3 alphas(3 different groups) on the same instance, using the same local ip address and just using different ports

Configs:

# zero
my: "fqdn.mydomain.com:5080"
bindall: true
replicas: 1
cid: xxx

# alphas[1-3], only diff is increasing my port by 1 and port_offset by 1
my: "fqdn.mydomain.com:7080"
zero: "fqdn.mydomain.com:5080"
bindall: true
port_offset: 0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions