Hi <#C021JANJ6TY|replication-troubleshooting> Team...
# replication-troubleshooting
s
Hi #replication-troubleshooting Team, Has anyone worked with Full Refresh data sync for unstructured documents? For example, my source is Google Drive and the destination is Azure Blob Storage. When I delete files in the source, the Full Refresh sync does not delete them in the destination. Shouldn’t Full Refresh remove deleted files from the destination as well?
k
You’re running into two different behaviors that sound similar but are actually distinct: 1. Full Refresh – Append (what you’re effectively seeing) - Full Refresh means “re-read all data from the source each sync.” - The Append variant only adds new data to the destination and never deletes or overwrites existing data; it will create duplicates over time.[\[Full refresh append\]](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-append) - This is why, for example, an S3 destination keeps old files when using “Full Refresh | Append.”[[Forum S3 example](https://discuss.airbyte.io/t/2451)] 2. Full Refresh – Overwrite (and Overwrite + Deduped) - The Overwrite variants are the ones that “destroy all data in the existing destination table and then pull the new data in,” so data removed from the source after a previous sync is no longer present in the destination.[\[Full refresh overwrite\]](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-overwrite) - Overwrite + Deduped behaves similarly but also deduplicates rows by primary key.[\[Overwrite + deduped\]](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-overwrite-deduped) For object-storage destinations (S3, Azure Blob, etc.), the same logical rule applies: only Full Refresh – Overwrite is intended to purge previous data; Full Refresh – Append will not delete or purge prior files.[\[Forum S3 example](https://discuss.airbyte.io/t/2451)] Additionally, there is an open GitHub issue where
destination-azure-blob-storage
(v1.0.3) is not deleting files even when using Overwrite, despite the logs showing it trying to match files for deletion.[\[Azure Blob issue\]](https://github.com/airbytehq/airbyte/issues/61590) That suggests there may currently be a bug specifically for Azure Blob in overwrite mode. How this applies to your case (Google Drive → Azure Blob): - If your connection is configured as Full Refresh – Append, Airbyte will not delete blobs in Azure when you delete files in Google Drive. That is expected behavior. - If you are using Full Refresh – Overwrite (or Overwrite + Deduped) and files in Azure Blob are still not being deleted, you are likely hitting the known Azure Blob destination issue above. What to check / do next: 1. Confirm the sync mode per stream in your connection: - To have deletions reflected, you need Full Refresh – Overwrite (or Overwrite + Deduped), not Append. 2. If you are already on Overwrite: - Check the destination connector version for Azure Blob. - Compare against the open issue; behavior may match that bug, in which case you may need: - A connector upgrade when a fix is released, or - A temporary manual cleanup process in Azure Blob. So: by design, Full Refresh alone does not guarantee deletion; only the Overwrite variants should remove data not present in the latest full snapshot, and Azure Blob currently has a reported problem even there.