A cross tenant metadata driven processing framework for Azure Data Factory and Azure Synapse Analytics achieved by coupling orchestration pipelines with a SQL database and a set of Azure Functions.
Describe the bug
When the OverideRestart property is set to 1 and there's a current execution where some pipelines have a status <> 'Success', the creation of a new execution will fail. This happens since the ExecutionWrapper stored procedure calls the UpdateExecutionLog stored procedure and when the OverideRestart property is set to 1, the process will only work if all pipelines in the Current Execution table have a status of 'Success' (in theory, they wouldn't even be there and moved to the final log table once framework completes), otherwise it will always throw an error.
Affected services
Which resource within the processing framework does this affect?
Data Factory
SQL Database
To Reproduce
Steps to reproduce the behavior:
Change a pipeline parameter to force a specific pipeline to fail. For example, in a wait activity set the value 'abc'
Trigger a new run in Data Factory and wait for it to finish with a failed pipeline
Set the property OverideRestart to 1
Trigger another new run in Data Factory
Framework will fail when running the Execution Wrapper activity.
Expected behaviour
The creation of a new run should be possible (by setting OverideProperty = 1) even when the previous run didn't finish successfully
Describe the bug When the OverideRestart property is set to 1 and there's a current execution where some pipelines have a status <> 'Success', the creation of a new execution will fail. This happens since the ExecutionWrapper stored procedure calls the UpdateExecutionLog stored procedure and when the OverideRestart property is set to 1, the process will only work if all pipelines in the Current Execution table have a status of 'Success' (in theory, they wouldn't even be there and moved to the final log table once framework completes), otherwise it will always throw an error.
Affected services Which resource within the processing framework does this affect?
To Reproduce Steps to reproduce the behavior:
Expected behaviour The creation of a new run should be possible (by setting OverideProperty = 1) even when the previous run didn't finish successfully