Does Copy activity failure, rollback entire dataset?

Bala 181 Reputation points
2021-03-21T15:17:46.03+00:00

Copying huge dataset with Copy activity with 'Skip incompatible rows' and logging enabled to capture failed rows and mark them retry during next run. When I Encountered Transport/Remote host closed connection error, it did not write any row specific details to logs. The question is when such a failure happens, does it rollback entire dataset?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,545 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,676 Reputation points Microsoft Employee
    2021-03-22T22:41:01.633+00:00

    @Bala Thanks for using Microsoft Q&A !!

    Unfortunately, Azure Data Factory does not have any in built transactions logic to rollback the entire data set. You need to create custom logic to achieve the same. You can refer to these two threads for your reference and implementation purpose -

    Please let me know if you have any other questions.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.