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

Revert "source-postgres-batch: Fix XID wraparound behavior" #2466

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

willdonnelly
Copy link
Member

@willdonnelly willdonnelly commented Feb 28, 2025

Description:

This reverts commit e57acbc and un-fixes #2383

Turns out the particular function we're using here doesn't work on a standby replica, which is...bad. Since the XID wraparound failure mode this guards against is still mostly theoretical (has never been seen in production yet) and the failures on read-only standby replicas are very much real, we should revert this and then revisit how to make it work on a standby as well.


This change is Reviewable

This reverts commit e57acbc
and un-fixes #2383

Turns out the particular function we're using here doesn't
work on a standby replica, which is...bad.
@willdonnelly willdonnelly added the change:unplanned Unplanned change, useful for things like doc updates label Feb 28, 2025
@willdonnelly willdonnelly requested a review from a team February 28, 2025 18:47
Copy link
Member

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

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

LGTM

@willdonnelly willdonnelly merged commit ca52be5 into main Feb 28, 2025
54 of 57 checks passed
@willdonnelly willdonnelly deleted the wgd/batch-postgres-xid-revert-20250228 branch February 28, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:unplanned Unplanned change, useful for things like doc updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix batch Postgres XMIN sync behavior so it has a better failure mode
2 participants