Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Nov 30, 2024

Conversation

knizhnik
Copy link

@knizhnik knizhnik force-pushed the pause_recovery_at_misconfig_v16 branch from 0bb232c to b47180d Compare September 23, 2024 15:51
@knizhnik knizhnik force-pushed the pause_recovery_at_misconfig_v16 branch from b47180d to e6e8408 Compare November 13, 2024 17:07
if (!recoveryPauseOnMisconfig)
if (!allowReplicaMisconfig)
{
/* Сontinue replication even though it can cause problerms later */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* Сontinue replication even though it can cause problerms later */
/* Сontinue replication even though it can cause problems later */

@knizhnik knizhnik requested a review from hlinnaka November 28, 2024 15:09
@knizhnik knizhnik force-pushed the pause_recovery_at_misconfig_v16 branch from 69e778a to 732f740 Compare November 29, 2024 12:14
@knizhnik knizhnik force-pushed the pause_recovery_at_misconfig_v16 branch from 732f740 to d05e846 Compare November 29, 2024 14:52
@knizhnik knizhnik merged commit dff6615 into REL_16_STABLE_neon Nov 30, 2024
3 checks passed
@knizhnik knizhnik deleted the pause_recovery_at_misconfig_v16 branch November 30, 2024 20:28
github-merge-queue bot pushed a commit to neondatabase/neon that referenced this pull request Dec 1, 2024
…t replica have smaller value than on primary (#9057)

## Problem

See #9023

## Summary of changes

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

See neondatabase/postgres#501
See neondatabase/postgres#502
See neondatabase/postgres#503
See neondatabase/postgres#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 <[email protected]>
Co-authored-by: Heikki Linnakangas <[email protected]>
awarus pushed a commit to neondatabase/neon that referenced this pull request Dec 5, 2024
…t replica have smaller value than on primary (#9057)

## Problem

See #9023

## Summary of changes

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

See neondatabase/postgres#501
See neondatabase/postgres#502
See neondatabase/postgres#503
See neondatabase/postgres#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 <[email protected]>
Co-authored-by: Heikki Linnakangas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants