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

DBZ-1081 Fallback to restart_lsn in pg 9.5 #728

Closed
wants to merge 1 commit into from

Conversation

addisonj
Copy link

@addisonj addisonj commented Jan 11, 2019

https://issues.jboss.org/browse/DBZ-1081

In pg 9.5, confirmed_flush_lsn is not availiable. However, there is
restart_lsn, which should be safe to use with a downside of producing
some extra duplicate records.

This page: https://paquier.xyz/postgresql-2/postgres-9-6-feature-highlight-replication-slot-improvements/
indicates as such and this allows for DBZ to support PG 9.5

Copy link
Member

@gunnarmorling gunnarmorling left a comment

Choose a reason for hiding this comment

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

@addisonj I think that's a reasonable suggestion, thanks! I've added one minor style-related comment inline, otherwise it LGTM. Could you also prepare an update for the connector doc page, updating the info on the supported minimum version and the implication of using this with 9.5? Thanks!

@jpechane, any comments from your side?

@jpechane
Copy link
Contributor

@gunnarmorling I think we are good to go!

@gunnarmorling
Copy link
Member

Cool, thanks for confirming. I'll merge it than as soon as the style issue has been sorted out.

In pg 9.5, confirmed_flush_lsn is not availiable. However, there is
restart_lsn, which should be safe to use with a downside of producing
some extra duplicate records.

This page: https://paquier.xyz/postgresql-2/postgres-9-6-feature-highlight-replication-slot-improvements/
indicates as such and this allows for DBZ to support PG 9.5
@addisonj
Copy link
Author

fixed, let me know if there is anything else you need on this one!

@gunnarmorling
Copy link
Member

@jpechane WDYT about adding PG 9.5 to the matrix job?

@gunnarmorling
Copy link
Member

Rebased and applied. Thanks, @addisonj!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants