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

Retry when WAL segment has not been found #930

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Retry when WAL segment has not been found #930

merged 1 commit into from
Dec 29, 2023

Conversation

iskakaushik
Copy link
Contributor

Debezium also does something similar. Awaiting confirmation from Postgres experts on this but so far what we have seen from the field indicates that this error is OK.

This PR also does some minor refactors and cleaning up of error messages that looked very similar.

@iskakaushik iskakaushik requested a review from serprex December 29, 2023 14:40
[Debezium](https://github.com/debezium/debezium/blob/db0cfea550308e7386413db25115d531a4c0a61c/debezium-connector-postgres/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java#L584) also does something similar. Awaiting confirmation from Postgres experts on this but so far what we have seen from the field indicates that this error is OK.

This PR also does some minor refactors and cleaning up of error messages that looked very similar.
@heavycrystal
Copy link
Contributor

can we also log the segment that is erroring?

@iskakaushik
Copy link
Contributor Author

can we also log the segment that is erroring?

it's getting logged higher up in the stack

@iskakaushik iskakaushik merged commit 7e30827 into main Dec 29, 2023
7 checks passed
@serprex serprex deleted the retry-wal branch July 19, 2024 15:25
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