fix(keepalived): notify_master ermittelt PG-Rolle über Publication statt Datei — v1.3.10

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>
This commit is contained in:
Debian
2026-07-31 19:06:05 +02:00
parent 18ee243a44
commit 09e6e0c4f7
2 changed files with 15 additions and 3 deletions

View File

@@ -1 +1 @@
1.3.9
1.3.10