Dmitry Golubets
09/11/2024, 4:12 PMMarvin
09/11/2024, 4:12 PMDmitry Golubets
09/11/2024, 4:12 PMDmitry Golubets
09/11/2024, 4:13 PMMarvin
09/11/2024, 4:13 PMpersist_result
attribute to True
.
2. Global Persistence Setting: You can turn on result persistence globally by setting the PREFECT_RESULTS_PERSIST_BY_DEFAULT
in your configuration.
bash
prefect config set PREFECT_RESULTS_PERSIST_BY_DEFAULT=true
3. Result Storage: Configure your result storage by using the result_storage
keyword argument, which accepts an instantiated filesystem block or a block slug.
You can find detailed instructions here.
If you need further refinement or have additional concerns, let me know!Dmitry Golubets
09/11/2024, 4:14 PMMarvin
09/11/2024, 4:14 PMtenacity
for retries, which could indirectly relate to your problem if similar exceptions are affecting result persistence.
2. Flow-level caching and retry mechanisms are other areas being discussed.
For deeper problem-solving:
- Check the specific exceptions causing your flow to crash.
- Review the GitHub issues related to crashes.
If your configurations are all correct, this might be a bug. You could track or report it on the Prefect GitHub issues page.
For further guidance on configurations, refer to the Prefect 3.x result persistence documentation.