Open Trunken opened 5 months ago
Hi @Trunken , I'm facing this same error with the mssql connector. Setting the retention period to 10 days, seeing this error on the 11th day.
I've got about 80 tables in the same sync. Does airbyte maintain the commit_lsn for each job or a single oldest value from all the tables? Were you able to find any resolution for this error?
@ritikanaidu-trakstar We created an additional table and a job which increments a counter in this table each night to keep CDC alive. Unfortunately very hacky but workes for now.
Thanks @Trunken We are facing this error even if the table has updates during the retention period. It doesn't seem right to me, that airbyte doesn't update the commit_lsn in partition offset even when cdc max_lsn is changing. Can you please let me know which version of airbyte and mssql source connector are you using?
@Trunken - any details you can share around your airbyte version and mssql connector version you're using currently?
We will be updating to a newer version of debezium soon - we will re-release the connector then and we can re-test this case.
@evantahler was the updated version of the connector to resolve this issue released?
Connector Name
source-mssql
Connector Version
4.0.9
What step the error happened?
During the sync
Relevant information
Hello,
I have a problem with the MSSQL Source connector using CDC which happens after the retention period of the CDC entries expire and no data (0 rows) have been synced.
Setup:
Some details:
Steps to reproduce:
I did some debugging and think the problem could be this: When no rows are transported the "commit_lsn" won`t be updated. This leads to the "commit_lsn" beeing out of range after the third day.
Code refs:
Thank you for your help.
Relevant log output
Contribute