Skip to content

Set wasShutdown=true during hot-standby replica startup only when primary is not alive #363

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

Merged
merged 4 commits into from
Feb 22, 2024

Conversation

knizhnik
Copy link

Postgres part of neondatabase/neon#6705

@knizhnik knizhnik force-pushed the hot_standby_v16.patch branch from c5faa83 to 9d71e9a Compare February 15, 2024 06:00
@skyzh skyzh force-pushed the REL_16_STABLE_neon branch from f7b63d8 to 9c37a49 Compare February 20, 2024 17:08
@lubennikovaav lubennikovaav self-requested a review February 22, 2024 15:31
@lubennikovaav lubennikovaav merged commit 61c280c into REL_16_STABLE_neon Feb 22, 2024
@lubennikovaav lubennikovaav deleted the hot_standby_v16.patch branch February 22, 2024 15:47
skyzh added a commit that referenced this pull request Mar 22, 2024
…when primary is not alive (#363)"

This reverts commit 61c280c.
skyzh added a commit that referenced this pull request Mar 22, 2024
* Revert "Add comment explaining why it is safe to use FirstNormalTransactionXid for oldestActiveXid while replica startup (#387)"

This reverts commit 67240b5.

* Revert "Set wasShutdown=true during hot-standby replica startup only when primary is not alive (#363)"

This reverts commit 61c280c.
tristan957 pushed a commit that referenced this pull request May 10, 2024
…mary is not alive (#363)

* Set wasShutdown=true during hot-standby replica startup only when primary is not alive
* Report fatal error if hot standaby replica is started with oldestAcriveXid=0

Postgres part of neondatabase/neon#6705
---------

Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
tristan957 pushed a commit that referenced this pull request May 10, 2024
* Revert "Add comment explaining why it is safe to use FirstNormalTransactionXid for oldestActiveXid while replica startup (#387)"

This reverts commit 67240b5.

* Revert "Set wasShutdown=true during hot-standby replica startup only when primary is not alive (#363)"

This reverts commit 61c280c.
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.

2 participants