Reverting Data to a Previous State
Reverting data to a previous state or rolling back to a stable state is a very commonly used technique in databases and Online Transaction Processing (OLTP) scenarios. In OLTP scenarios, the transformation instructions are grouped together into a transaction, and if any of the instructions fail or reach an inconsistent state, then the entire transaction rolls back.
Although databases provide such functionality, you don’t have such ready-made support in ADF or Oozie (HDInsight) today. You will have to build your own rollback stages depending on the activity.
Note
This section primarily focuses on the Revert data to a previous state concept of the DP-203: Data Engineering on Microsoft Azure exam.
ADF provides options for checking consistency and setting limits for fault tolerance. Now look at an example to learn how the rollback of a Copy Data activity is done in ADF. You can enable Data consistency verification and Fault tolerance...