Skip to content

Commit

Permalink
Throw cdc cursor error
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkulk committed Feb 14, 2024
1 parent 16821f0 commit b4a5acb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public static List<AutoCloseableIterator<AirbyteMessage>> cdcCtidIteratorsCombin

if (!savedOffsetAfterReplicationSlotLSN) {
AirbyteTraceMessageUtility.emitAnalyticsTrace(cdcCursorInvalidMessage());
AirbyteTraceMessageUtility.emitConfigErrorTrace(new ConfigErrorException("Invalid cdc cursor. Check docs"), "Invalid CDC cursor.");
LOGGER.warn("Saved offset is before Replication slot's confirmed_flush_lsn, Airbyte will trigger sync from scratch");
} else if (!isDebugMode(sourceConfig) && PostgresUtils.shouldFlushAfterSync(sourceConfig)) {
// We do not want to acknowledge the WAL logs in debug mode.
Expand Down

0 comments on commit b4a5acb

Please sign in to comment.