Add GUC controlling whether to pause recovery if some critical GUCs at replica have smaller value than on primary (#9057)

## Problem

See https://github.com/neondatabase/neon/issues/9023

## Summary of changes

Ass GUC `recovery_pause_on_misconfig` allowing not to pause in case of
replica and primary configuration mismatch

See https://github.com/neondatabase/postgres/pull/501
See https://github.com/neondatabase/postgres/pull/502
See https://github.com/neondatabase/postgres/pull/503
See https://github.com/neondatabase/postgres/pull/504


## Checklist before requesting a review

- [ ] I have performed a self-review of my code.
- [ ] If it is a core feature, I have added thorough tests.
- [ ] Do we need to implement analytics? if so did you add the relevant
metrics to the dashboard?
- [ ] If this PR requires public announcement, mark it with
/release-notes label and add several sentences in this section.

## Checklist before merging

- [ ] Do not forget to reformat commit message to not include the above
checklist

---------

Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
This commit is contained in:
Konstantin Knizhnik
2024-12-01 14:23:10 +02:00
committed by GitHub
parent 4abc8e5282
commit 97a9abd181
7 changed files with 241 additions and 9 deletions

View File

@@ -1,18 +1,18 @@
{
"v17": [
"17.2",
"faebe5e5aff5687908504453623778f8515529db"
"a10d95be67265e0f10a422ba0457f5a7af01de71"
],
"v16": [
"16.6",
"13e9e3539419003e79bd9aa29e1bc44f3fd555dd"
"dff6615a8e48a10bb17a03fa3c00635f1ace7a92"
],
"v15": [
"15.10",
"d929b9a8b9f32f6fe5a0eac3e6e963f0e44e27e6"
"972e325e62b455957adbbdd8580e31275bb5b8c9"
],
"v14": [
"14.15",
"c1989c934d46e04e78b3c496c8a34bcd40ddceeb"
"373f9decad933d2d46f321231032ae8b0da81acd"
]
}