Surendra Longre
10/29/2025, 6:09 PMkapa.ai
10/29/2025, 6:10 PMwal_keep_size or max_slot_wal_keep_size settings are too low for your workload, so WAL segments are removed before the next sync. - There is a mismatch or issue with how the state is saved and restored, especially after connector upgrades or changes. Recommended actions: 1. Increase WAL retention: Set a higher value for wal_keep_size and/or max_slot_wal_keep_size in your Postgres configuration to ensure WAL files are retained long enough for Airbyte to read them. 2. Increase sync frequency: If possible, run syncs more frequently to reduce the window in which WAL files might be purged. 3. Monitor WAL usage: Check if your database is generating more WAL data than expected, especially if you have high transaction volumes or large updates. 4. Check for connector or state issues: There are known issues with certain Airbyte Postgres connector versions and state management that can cause this error even if WAL retention and sync frequency seem sufficient. For example, issues with the PgJDBC version or how the state LSN is saved can lead to this problem even in low-traffic environments or after connector upgrades [source-postgres CDC Not Working With Connector Version 3.6.22 (PgJDBC Issue)](https://github.com/airbytehq/airbyte/issues/49802), [CDC sync is making the confirmed flush LSN to a value > saved state LSN](https://github.com/airbytehq/airbyte/issues/55846). For more details and troubleshooting steps, see the official documentation: [Troubleshooting Postgres Sources](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#under-cdc-incremental-mode-there-are-still-full-refresh-syncs). Summary: Even with hourly syncs, if your WAL retention settings are not high enough for your database's write volume, or if there are connector/state issues, you can still encounter this error. Review your Postgres WAL settings and consider known connector issues as part of your troubleshooting process.Surendra Longre
10/29/2025, 6:21 PMkapa.ai
10/29/2025, 6:21 PMkapa.ai
10/29/2025, 6:21 PMwal_keep_size and/or max_slot_wal_keep_size settings in Postgres to prevent this issue from recurring. Also, consider increasing your sync frequency if possible [Troubleshooting Postgres Sources](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#under-cdc-incremental-mode-there-are-still-full-refresh-syncs). Summary: To resolve the issue right now, reset the connection and allow Airbyte to perform a full refresh sync. This will get your pipeline working again, but you should also review your WAL retention settings to prevent future occurrences. If you continue to see issues even after a full refresh, there may be a connector version or state management bug involved, as described in several GitHub issues. In that case, consider downgrading the connector or following up on the relevant GitHub issues for a more permanent fix.