Maps: a site takes the name its hosts share #66

Merged
jcoffey-dev merged 1 commits from feature/site-names into main 2026-11-16 07:45:10 +00:00
Owner

A site whose hosts are mostly named with one prefix (phx1-app05, phx1-db01) is named after it, when no other site shares it. Names set by hand or in topology.yaml still win. Docs: maps.md.

Closes #59.

A site whose hosts are mostly named with one prefix (phx1-app05, phx1-db01) is named after it, when no other site shares it. Names set by hand or in topology.yaml still win. Docs: maps.md. Closes #59.
jcoffey-dev added 1 commit 2026-11-16 07:35:05 +00:00
Maps: a site takes the name its hosts share
ci / postgres (pull_request) Successful in 7m27s
ci / check (pull_request) Successful in 9m48s
d9130267cd
Sites were named after their first subnet until someone renamed them on
the map. Many fleets name hosts by site (phx1-app05, iad1-db01), and the
demo now does too (#59). When at least three of a site's hosts, four in
five, share a prefix before the first "-" that has a letter in it, and
no other site has the same one, it's the site's name. Site ids stay the
network, so names set by hand or in topology.yaml still apply and win.

Closes #59.
jcoffey-dev merged commit 8eb61b17cc into main 2026-11-16 07:45:10 +00:00
jcoffey-dev deleted branch feature/site-names 2026-11-16 07:45:10 +00:00
Sign in to join this conversation.