dgraph-io / dgraph-io/dgraph

zero reconciliation loop

Open
#9,777 2 comments 0 reactions 2 assignees View on GitHub

@shivaji-kharse is already working on this.

Since Jul 15, 2026.

bug Stale
Dominant language
Go
Stars
21.8k
Forks
1.6k
Avg merge
2d 5h
Merged PRs (30d)
9

Description

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 https://github.com/dgraph-io/dgraph/pull/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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.