Luke Alexander
07/06/2025, 8:48 AMSuppressed: io.airbyte.cdk.TransientErrorException: Shutting down snapshot reader: max duration elapsedkapa.ai
07/06/2025, 8:48 AMSuppressed: io.airbyte.cdk.TransientErrorException: Shutting down snapshot reader: max duration elapsed indicates that the snapshot phase of your MySQL → BigQuery sync is timing out. This typically happens when the initial snapshot (full read of the source tables) takes longer than the allowed maximum duration, causing Airbyte to abort the operation. Possible causes and troubleshooting steps: 1. Large Data Volume or Slow Source: If your MySQL tables are large or the source is slow to respond, the snapshot can exceed the default timeout. 2. Timeout Configuration: Airbyte’s MySQL connector has settings related to timeouts and snapshot durations. While the knowledge sources do not specify the exact parameter for "max duration" of the snapshot reader, they do mention related settings: - The initial CDC waiting time can be configured (default is 5 minutes, up to 20 minutes). If your snapshot needs more time, try increasing this value in the connector's advanced settings. For example, set it to 1200 seconds (20 minutes) to see if the snapshot completes successfully. [See: Advanced CDC waiting time](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#advanced-setting-up-initial-cdc-waiting-time) - If you are hitting query timeouts, ensure that your MySQL server’s max_execution_time is set higher than Airbyte’s checkpoint interval. [See: Query Timeout](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting) 3. Server-Side Issues: - If the MySQL server is under heavy load or has restrictive timeout settings (wait_timeout, max_execution_time), consider increasing these values. - For Amazon RDS or Aurora, ensure binlog retention is set high enough to avoid losing binlogs during long syncs. 4. Upgrade-Related Issues: - Several users have reported sync failures after upgrading Airbyte or connectors, sometimes resolved by increasing timeouts or splitting large syncs into smaller ones. [See: Forum discussion on sync failures after upgrade](https://discuss.airbyte.io/t/2656) Next steps: - Increase the initial CDC waiting time and relevant MySQL server timeouts. - If possible, reduce the amount of data being synced in a single run (e.g., sync fewer tables at once). - Monitor the Airbyte and MySQL logs for any additional errors or clues. If the problem persists after these adjustments, please provide more details about your connector versions and configuration, as there may be a regression or bug introduced in the recent upgrade. Let me know if you need guidance on where to set these parameters in the Airbyte UI.Luke Alexander
07/06/2025, 9:10 AMkapa.ai
07/06/2025, 9:10 AMkapa.ai
07/06/2025, 9:10 AMLuke Alexander
07/07/2025, 7:30 AMStack Trace: io.airbyte.cdk.TransientErrorException: Shutting down snapshot reader: max duration elapsedkapa.ai
07/07/2025, 7:31 AMkapa.ai
07/07/2025, 7:31 AMio.airbyte.cdk.TransientErrorException: Shutting down snapshot reader: max duration elapsed There is no mention of this specific error message or its location in the Airbyte codebase within the documents available. If you need a precise code reference or a deeper explanation, you may need to search the Airbyte GitHub repository directly or consult the Airbyte community for further assistance.Luke Alexander
07/07/2025, 7:41 AMmaxSnapshotReadDuration which tunes the initial snapshot timeout, where is this available to set in the UI?kapa.ai
07/07/2025, 7:41 AMkapa.ai
07/07/2025, 7:41 AM