-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Investigate the effect of huge WAL logs on Postgres CDC source sync #5837
Labels
area/connectors
Connector related issues
connectors/source/postgres
connectors/sources-database
type/bug
Something isn't working
Comments
Additional instance of this happening in https://github.com/airbytehq/oncall/issues/90: |
Exit criteria:
Estimate: L (one sprint). To set this up will take some time. |
Observation
Postgres CDC Process
Full notes |
This was referenced May 25, 2022
The investigation is done. Here are the follow-up items:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/connectors
Connector related issues
connectors/source/postgres
connectors/sources-database
type/bug
Something isn't working
A user reported that their Postgres source connector running in CDC mode was not able to fetch the changes during incremental updates. Take a look at the following logs
The two logs have a difference of 5 minutes. We wait for 5 minutes and there were no records returned by debezium and as a result we shutdown the sync. The last log from debezium is
2021-09-02 08:23:46 INFO () DefaultAirbyteStreamFactory(lambda$create$0):73 - 2021-09-02 08:23:46 [32mINFO[m i.d.c.p.PostgresStreamingChangeEventSource(searchWalPosition):268 - {} - Searching for WAL resume position
Even after 5 minutes of waiting debezium didn't return any record which caused the sync to shut down.
The user reported that they dropped and recreated the logical replication slot, and now have successful syncs. WAL was at ~250GB before they dropped it.
Our guess is that 5 minutes is not enough to find the resume position if WAL grows too big?
Slack ref : https://airbytehq.slack.com/archives/C01MFR03D5W/p1630662717338800?thread_ts=1630572024.268600&cid=C01MFR03D5W
logs-1338-0.txt
The text was updated successfully, but these errors were encountered: