Skip to content

[cluster]: don't fire HA alerts on replica clusters#943

Open
Allex1 wants to merge 1 commit into
cloudnative-pg:mainfrom
Allex1:main
Open

[cluster]: don't fire HA alerts on replica clusters#943
Allex1 wants to merge 1 commit into
cloudnative-pg:mainfrom
Allex1:main

Conversation

@Allex1

@Allex1 Allex1 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

On a replica cluster the designated primary runs a WAL receiver, lowering the computed standby count by one, so CNPGClusterHAWarning fired permanently.
Gated both HA rules on cnpg_collector_replica_mode == 0 so they only fire on primary clusters.

@Allex1 Allex1 requested review from itay-grudev and phisco as code owners July 8, 2026 07:26
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. chart( cluster ) Related to the cluster chart labels Jul 8, 2026
Signed-off-by: Allex1 <Allex21ro@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart( cluster ) Related to the cluster chart size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant