keepalived-master.sh loggte beim VIP-Übernehmen "PG-Rolle ist noch 'standby'", weil es /var/lib/edgeguard/pg_role las — die schreibt nur `promote`, ein via cluster-init-replication eingerichteter Primary hat sie nie → falsches Label. Jetzt zuverlässig über pg_publication (nur der Primary trägt edgeguard_shared, Konvention wie cluster_repair.go): Primary → "bereits PG-Primary (kein promote nötig)", sonst → "standby, edgeguard-ctl promote". Rein kosmetisch/Logging. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3.1 KiB
3.1 KiB