If you have performed a "Clear" (or "Reset" in older versions) in Airbyte but the state has not been cleared, this is not the expected behavior. According to the documentation, a successful Clear should remove all records from your destination and reset the state, so that the next sync starts from scratch and re-imports all data from the source, even for incremental streams [Clearing your data](
https://docs.airbyte.com/platform/operator-guides/clear). However, there are known issues and edge cases where the state may not be cleared as expected: -
Connector Version Issues: Some older destination connectors (such as S3 < v1.x) did not fully support the new Clear behavior, which could result in the state not being reset or files not being deleted. Upgrading to the latest connector version is recommended ["Clear data" of one specific stream in Airbyte 1.2.0 does not work for parquet files in S3](https://github.com/airbytehq/airbyte/issues/57555). -
Platform Version Bugs: There have been bugs in older Airbyte platform versions where state was not reset correctly between full refresh runs. Upgrading to a version >= 0.58.0 is advised [[source-slack] Full refresh sync prevents data extraction on subsequent runs due to __ab_full_refresh_sync_complete state flag](
https://github.com/airbytehq/airbyte/issues/42888). -
Manual State Reset: In some cases, especially with older versions or certain destinations, you may need to manually clear state or drop tables/files in the destination if the automated Clear does not work as intended [Clearing your data](
https://docs.airbyte.com/platform/operator-guides/clear).
What you should do: 1.
Check your Airbyte and connector versions. If you are running an older version, upgrade both the Airbyte platform and your destination connector to the latest available. 2.
If the problem persists after upgrading, you may need to manually clear the state or destination data, as described in the documentation. 3.
If you are still experiencing issues, consult the logs for errors and consider opening a support ticket or GitHub issue with detailed information about your setup and the problem. In summary, a successful Clear should reset the state, but if it does not, it is likely due to a version issue or a bug. Upgrading is the recommended first step. If you need more specific troubleshooting, please provide your Airbyte and connector versions and any relevant logs.