Shane Keller
02/27/2024, 11:20 PMScout
02/27/2024, 11:20 PMRetryPolicy
or raising a RetryRequested
exception within the op. These mechanisms are used to explicitly define the retry behavior when an op encounters transient issues. Without such a policy, the op is not retried upon failure within the same run, and it is expected to execute exactly once. However, it's important to distinguish between op retries and run retries. Run retries can be configured to retry the entire job or specific steps if a run fails, which could lead to an op being executed more than once across different runs, even if it does not have a retry policy. In summary, without a retry policy, an op is intended to execute exactly once within a single run, but there are scenarios, such as job re-executions or run retries, where the op could be executed more than once.