Files
system-config/playbooks/roles/zookeeper/templates/zoo.cfg.j2
Clark Boylan 71b0526a44 Fix the zk peer listing to match myid values
We were using a loop index which meant for our cluster size of three we
would always assign server.1 through server.3. Unfortunately, as we
replace servers we may add notes with a myid value >3 which breaks when
we try to assign serverids in this way.

Fix it by using the calculation for myid in the peer listing.

Change-Id: Icf770c75cf3a84420116f47ad691d9f06191fb65
2021-04-27 10:16:08 -07:00

1.5 KiB