Azure SQL连接通过ADF遇到瞬态故障

huangapple go评论62阅读模式
英文:

Azure SQL Connection through ADF having transient failure

问题

我们已经建立了ADF管道,在其中有一步是连接到Azure SQL并运行查询。因此,ADF管道每天都会运行,而这一步几乎在98%的时间内都会成功运行,但偶尔会出现以下错误:

|ErrorCode=SqlFailedToConnect,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Cannot connect to SQL Database

注意:此问题在重新启动后得以解决。

我们需要一种自动化的方式,无需手动干预。

我们需要找到一种方法,在第一次失败时进行重试吗?

英文:

We have build ADF Pipeline where we have a step to connect to Azure SQL and run a query. So the ADF pipeline runs every single day and this step runs almost 98% of the time, but once in a while gets failed with the following error,

|ErrorCode=SqlFailedToConnect,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Cannot connect to SQL Database

Note : This issue gets resolved on restart.

We need a way to have this automated without manual intervention.

We need to find if there is any way to retry if this fails the first time?

答案1

得分: 1

您可以为任何您想要的步骤添加重试。

重试 - 如果失败,ADF将重试此步骤的次数。

重试间隔 - 重试之间的持续时间(以秒为单位)。

Azure SQL连接通过ADF遇到瞬态故障

英文:

You can add a retry to any step you want.

Retry - is the number of times ADF will retry this step is it fails.

Retry Interval - the duration between retires (in seconds)

Azure SQL连接通过ADF遇到瞬态故障

huangapple
  • 本文由 发表于 2023年5月14日 18:31:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76246985.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定