pdbmux: order backends new-first and drop primary/prefer #452
Reference in New Issue
Block a user
Delete Branch "benvin/pdbmux-backend-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
pdbmux#9 drops primary/prefer and makes configured backend order the only tie-break, so the current
old-first list would silently reverse which PuppetDB wins.How
PDBMUX_BACKENDSwithnew=http://puppetdb.puppet.svc.cluster.local:8080first andold=http://puppetdbapi.service.consul:8080second, URLs unchanged.PDBMUX_PRIMARYandPDBMUX_PREFER; both already resolve tonew, on the deployed v0.1.0 image (estate defaults) and on pdbmux main (first-backend fallback), so the rendered behaviour is unchanged today.Merge this before pdbmux#9.