cketch Engli
08/19/2025, 11:15 AMkapa.ai
08/19/2025, 11:16 AMwal_keep_size, max_slot_wal_keep_size) are too low, the WAL segments needed for incremental sync may be deleted before Airbyte can process them. - Sync Frequency Too Low: If the interval between syncs is longer than the WAL retention period, the required WAL files may be gone by the time the next sync runs. - Manual Resync or Slot Recreation: If you manually reset the connection or recreate the replication slot, the saved offset in Airbyte’s state may point to an LSN (Log Sequence Number) that is no longer available in the replication slot, triggering this error. How to resolve and prevent this: - Increase WAL retention: Set a higher value for wal_keep_size and/or max_slot_wal_keep_size in your Postgres configuration to retain WAL files longer. - Increase sync frequency: Run Airbyte syncs more frequently so that WAL files are consumed before they are purged. - Reset the connection: As the error suggests, you may need to reset the connection to re-align the state, but this will trigger a full refresh. For more details and troubleshooting steps, see the official Airbyte documentation: [Troubleshooting Postgres Sources](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#under-cdc-incremental-mode-there-are-still-full-refresh-syncs) and related GitHub issues where this behavior is discussed in detail [source](https://github.com/airbytehq/airbyte/issues/46571). Summary: This error is a result of a mismatch between the saved offset and the available WAL files in Postgres. Adjusting WAL retention and sync frequency are the recommended solutions.cketch Engli
08/19/2025, 11:45 AMkapa.ai
08/19/2025, 11:45 AMkapa.ai
08/19/2025, 11:46 AMcketch Engli
08/19/2025, 12:04 PMkapa.ai
08/19/2025, 12:04 PMkapa.ai
08/19/2025, 12:04 PMcketch Engli
08/19/2025, 12:51 PMkapa.ai
08/19/2025, 12:51 PMkapa.ai
08/19/2025, 12:51 PMMAX_SYNC_WORKERS and the number of Airbyte worker replicas. If these are set too low for your workload, jobs will wait in the queue [Syncs taking almost an hour for <20kb of data](https://discuss.airbyte.io/t/3780). - Job Orchestration Overhead: Airbyte’s orchestration system may introduce delays, especially if there are many jobs or connections. Even small syncs can be delayed if the system is busy [Is Marketo Sync Supposed to Take Hours?](https://discuss.airbyte.io/t/984). In summary, long queue times are typically due to limited resources or configuration limits on parallelism. Increasing available resources or tuning worker settings can help reduce queue times.cketch Engli
08/19/2025, 12:54 PMMAX_SYNC_WORKERSkapa.ai
08/19/2025, 12:54 PMkapa.ai
08/19/2025, 12:54 PMMAX_SYNC_WORKERS в Airbyte, вам нужно задать соответствующую переменную окружения для worker'ов. В зависимости от способа развертывания (например, через Helm chart), это делается в файле values.yaml. Пример для Helm chart: yaml worker: env_vars: MAX_SYNC_WORKERS: 12 MAX_CHECK_WORKERS: 12 Или для некоторых версий Helm chart: yaml worker: extraEnv: - name: MAX_SYNC_WORKERS value: "12" - name: MAX_CHECK_WORKERS value: "12" После изменения значения переменной окружения, перезапустите соответствующие pods, чтобы изменения вступили в силу. Обратите внимание, что точный синтаксис зависит от версии Helm chart и вашей конфигурации. Подробнее см. в официальной документации и обсуждениях пользователей ([Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte), [Support the MAX_*_WORKERS environment variables in the Helm chart](https://github.com/airbytehq/airbyte/issues/29547)).cketch Engli
08/19/2025, 2:28 PMkapa.ai
08/19/2025, 2:28 PMkapa.ai
08/19/2025, 2:29 PMvalues.yaml для настройки количества воркеров (MAX_SYNC_WORKERS и MAX_CHECK_WORKERS) в Airbyte через Helm chart V2: yaml worker: maxSyncWorkers: 12 maxCheckWorkers: 12 replicaCount: 2 Если вы используете Helm chart V1, переменные задаются через `extraEnv`: yaml worker: extraEnv: - name: MAX_SYNC_WORKERS value: "12" - name: MAX_CHECK_WORKERS value: "12" replicaCount: 2 Для Helm chart V2 рекомендуется использовать camelCase ключи, как показано выше. Полный пример и список изменений между версиями Helm chart можно найти в официальной документации [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte), [Update your values.yaml file](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). Важно: - После изменения файла values.yaml примените изменения командой helm upgrade. - Точный синтаксис зависит от вашей версии Helm chart. - Для других параметров и примеров смотрите [values.yaml на GitHub](https://github.com/airbytehq/airbyte-platform/blob/main/charts/v2/airbyte/values.yaml).