@Marvin I GOT TASK FAILED AT SOME POINT , I REFACTORED THE CODE AND WANTED TO RETRY BUT THE FLOW IS COMPLETELY NEW RATHER THAN STARTING FROM THE EXACT POINT OF FAILURE
m
Marvin
09/10/2024, 10:46 AM
You refactor code, but retrying the failed task runs entire new flow. 🤔
Let's find out more about restart failed parts Prefect! First, which version Prefect you use? So grug better help you. 😊
a
Ankit Poudel
09/10/2024, 10:46 AM
@Marvin 3.0
m
Marvin
09/10/2024, 10:47 AM
Retry failed tasks in Prefect 3.0 has some complexities, but here key points:
1. Retry Mechanism:
- Prefect supports retry on both flow and task levels with exponential backoff. Docs
2. Retry Notifications:
- Users have requested better interfaces for retry notifications and handling multiple retries. Current handling may not trigger notifications properly. Issue Link
3. Graceful Failure & Self-healing:
- Prefect is designed to handle retries, self-healing, and graceful failures. Blog Link
If still not work as expected, might need custom logic or checking specific handling in your code!
Grug hope this help! 😊
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.