If an Airbyte sync fails and some data has already been loaded, Airbyte does
not automatically roll back the data that was partially loaded into your destination. This means that in the event of a partial failure—where some records are successfully committed before the error—those records will remain in your destination, and Airbyte does not clean them up after the failure. When the sync is retried, it may re-insert data, potentially leading to duplicates or other inconsistencies, depending on your sync mode and destination behavior. For the
Incremental Append + Deduped mode (especially with CDC from SQL Server to Snowflake), Airbyte uses a deduplication process in the destination to ensure only the latest record per primary key is kept. However, if a failure occurs after some data is written but before the deduplication or cleanup steps complete, you may see duplicates or inconsistent state until the next successful sync completes the deduplication process. This is a known behavior and is not unique to your setup; it has been discussed in the community and is a limitation of how Airbyte currently handles partial failures and state management in incremental syncs [Failed attempts leading to duplicates](
https://discuss.airbyte.io/t/744) [Airbyte committing records for failed sync](
https://discuss.airbyte.io/t/1064). Specifically for Snowflake, there have been reports of issues with transaction handling in the append+deduped mode, where inserts may be committed even if a subsequent delete fails, leading to potential data inconsistencies. This is due to how transactions are managed in Snowflake and is being addressed by the community [[destination-snowflake] incorrect transaction handling leads to missing data](
https://github.com/airbytehq/airbyte/issues/46936).
Key points: - Airbyte does not roll back partially loaded data after a failed sync. - Deduplication will occur on the next successful sync, but interim duplicates or inconsistencies may exist. - This behavior is especially relevant for incremental syncs and is a known limitation. If strict atomicity is required (i.e., all-or-nothing data loads), you may need to implement additional cleanup or validation logic outside of Airbyte, or monitor for improvements in transaction handling in future Airbyte releases.