Skip to content

Conversation

@FxKu
Copy link
Member

@FxKu FxKu commented Oct 25, 2022

If tables for streams are not found in the database (maybe because of a typo in the table name) the publication sync will fail. The operator only returns a warning and continues to create the logical replication slot. This leads to the same error that #2085 already tried to solve. Even when creation of publications succeeds in future sync cycles, Postgres will return an error that they do not exist because the slots have been created before.

This PR suggests to only sync slots where publication sync succeeded.

@FxKu FxKu added this to the 1.9 milestone Oct 25, 2022
@FxKu
Copy link
Member Author

FxKu commented Oct 25, 2022

👍

1 similar comment
@idanovinda
Copy link
Member

👍

@FxKu FxKu merged commit 529cdfc into master Oct 25, 2022
@FxKu FxKu deleted the pub-sync-fail branch October 25, 2022 12:51
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