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 #364

Merged
merged 4 commits into from
Feb 22, 2024

Conversation

knizhnik
Copy link

Postgres part of neondatabase/neon#6705

@lubennikovaav lubennikovaav merged commit be91d91 into REL_15_STABLE_neon Feb 22, 2024
@lubennikovaav lubennikovaav deleted the hot_standby_v15 branch February 22, 2024 15:47
skyzh added a commit that referenced this pull request Mar 22, 2024
…when primary is not alive (#364)"

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

This reverts commit 79b6351.

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

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

* 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 (#388)"

This reverts commit 79b6351.

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

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

* 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 20, 2024
* Revert "Add comment explaining why it is safe to use FirstNormalTransactionXid for oldestActiveXid while replica startup (#388)"

This reverts commit 79b6351.

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

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