fix(cluster): Repair-Button-Gating auf role statt pg_role — v1.2.87

pg_role bleibt nach cluster-setup-standby auf 'standalone' (nur 'promote' setzt 'primary'), daher erschien der Button auf dem Primary (role=primary, pg_role=standalone) nicht. Gating + Dispatch + Status nutzen jetzt isPrimaryNode = role=='primary' || pg_role=='primary' (wie keepalived); Resync-Ziel = Nicht-Primary-Peer. Backend (cluster_repair.go) + UI (Cluster/index.tsx).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Debian
2026-06-04 13:03:17 +02:00
parent f7dd7a3a4b
commit 66c71c5fa8
3 changed files with 50 additions and 19 deletions

View File

@@ -1 +1 @@
1.2.86
1.2.87