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

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

Merged
merged 5 commits into from
Feb 22, 2024

Conversation

knizhnik
Copy link

Postgres part of neondatabase/neon#6705

@lubennikovaav lubennikovaav dismissed hlinnaka’s stale review February 22, 2024 15:49

All requested changes were implemented.

@lubennikovaav lubennikovaav merged commit b9336bc into REL_14_STABLE_neon Feb 22, 2024
@lubennikovaav lubennikovaav deleted the hot_standby_v14 branch February 22, 2024 15:50
skyzh added a commit that referenced this pull request Mar 22, 2024
…when primary is not alive (#365)"

This reverts commit b9336bc.
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 (#389)"

This reverts commit 1eeab2d.

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

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

* 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 <[email protected]>
Co-authored-by: Heikki Linnakangas <[email protected]>
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 (#389)"

This reverts commit 1eeab2d.

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

This reverts commit b9336bc.
tristan957 pushed a commit that referenced this pull request May 20, 2024
…mary is not alive (#365)

* 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 <[email protected]>
Co-authored-by: Heikki Linnakangas <[email protected]>
tristan957 pushed a commit that referenced this pull request May 20, 2024
* Revert "Add comment explaining why it is safe to use FirstNormalTransactionXid for oldestActiveXid while replica startup (#389)"

This reverts commit 1eeab2d.

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

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