Seth Terrell
05/07/2026, 2:59 PMSaved offset is before replication slot's confirmed lsn. Please reset the connection, and then increase WAL retention and/or increase sync frequency to prevent this from happening in the future. See <https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#under-cdc-incremental-mode-there-are-still-full-refresh-syncs> for more details.
We have tried both options for "Refresh your data" -- namely "Refresh streams and retain records" and "Refresh streams and remove records" -- as well as "Clear your data" and none of these address the issue. The only way we've found to fix this is to completely drop and recreate the Connection and/or the Source.
This is fine when it's occasional, but we are now trying to stream data from PostgreSQL every two minutes (i.e., near real-time (NRT)). Last night, after running fine for hours, the Connector inexplicably started throwing the above error and has failed since.
----------------------------------
Here are the LSN lines from the last four successful syncs, with the last line being the first failed sync. I suspect that last "Saved offset LSN" shouldn't be the same value as the sync before it (i.e., 19508285977976).
2026-05-06 22:39:33 info INFO main i.a.i.s.p.c.PostgresDebeziumStateUtil(isSavedOffsetAfterReplicationSlotLSN):69 Replication slot confirmed_flush_lsn : 19508081354072 Saved offset LSN : 19508121385984
2026-05-06 22:43:34 info INFO main i.a.i.s.p.c.PostgresDebeziumStateUtil(isSavedOffsetAfterReplicationSlotLSN):69 Replication slot confirmed_flush_lsn : 19508124153352 Saved offset LSN : 19508167298192
2026-05-06 22:46:59 info INFO main i.a.i.s.p.c.PostgresDebeziumStateUtil(isSavedOffsetAfterReplicationSlotLSN):69 Replication slot confirmed_flush_lsn : 19508172623296 Saved offset LSN : 19508244459200
2026-05-06 22:48:34 info INFO main i.a.i.s.p.c.PostgresDebeziumStateUtil(isSavedOffsetAfterReplicationSlotLSN):69 Replication slot confirmed_flush_lsn : 19508244459200 Saved offset LSN : 19508285977976
2026-05-06 22:52:33 info INFO main i.a.i.s.p.c.PostgresDebeziumStateUtil(isSavedOffsetAfterReplicationSlotLSN):69 Replication slot confirmed_flush_lsn : 19508297437136 Saved offset LSN : 19508285977976
-------------------------------------
Both myself and our Chief Architect have spent hours troubleshooting this issue and cannot find a solution. I suspect there is an issue in Airbyte's handling of LSNs. We need any ideas y'all have, please.
If Airbyte is not reliable, using it for NRT is a non-starter.Seth Terrell
05/07/2026, 3:53 PMSeth Terrell
05/07/2026, 4:05 PMSeth Terrell
05/07/2026, 4:24 PMSeth Terrell
05/07/2026, 5:30 PMupdate yourSchema.yourTable set value='heartbeat', updated=now();
> You do NOT need to replicate this stream in airbyte for this to work. In fact we don't have the schema this table is in selected in the source configuration.
> This is definitely just a workaround though. There is clear underlying problem that should be addressed. I'm not sure if it's a problem with Airbyte, Debezium, or both.
I vehemently agree that this issue needs to be addressed, to whoever may be listening from Airbyte.Francisco Carneiro
05/11/2026, 9:02 AMSeth Terrell
05/12/2026, 2:34 PMPassarelli
05/19/2026, 4:54 PMSeth Terrell
05/19/2026, 4:54 PMPassarelli
05/19/2026, 4:58 PMSeth Terrell
05/19/2026, 5:03 PMPassarelli
05/19/2026, 5:07 PMSeth Terrell
05/19/2026, 5:08 PM