Azure Data Factory activity retry limit exceeded

Yannick Widmer 1 Reputation point
2022-01-13T08:13:25.437+00:00

I have a pipeline with some activities, all my activities have a retry limit of 5 (at least I understand the variable as retry limit) and a retry interval of 30 seconds.

![164544-image.png]
However when it fails it keeps trying forever (more than 5 times). As you see in below picture. What do I do wrong?
164684-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2022-01-13T09:40:01.273+00:00

    Hi @Yannick Widmer ,
    Thankyou for posting your query on Microsoft Q&A platform and thanks for the confirmation that the copy activity is within a ForEach block.

    Kindly check the number of instance of copy activity without setting any retry (keeping retry=0) .
    Expected number of copy activity execution will be = number of instances + number of instances*number of retries

    For example: If the number of instances are 3 without setting retry, then post setting retry =5 if all instances fail, then total number of copy activity execution will be:
    Initial instances=3
    For each instance , number of retries= 2
    So in total, 3+3*2=9
    Please refer to the below gif for reference. In case you have any further query please do let us know.

    164648-stgfinal.gif

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.