ash
07/05/2022, 4:45 PMKevin Kho
07/05/2022, 4:45 PMash
07/05/2022, 4:46 PMKevin Kho
07/05/2022, 4:52 PMash
07/05/2022, 4:53 PMtask 3
and persisting it in S3 and the code breaks at task 4
, when i press the restart button , its says null restarted the flow
and all the logs from very start show up againKevin Kho
07/05/2022, 4:56 PMash
07/05/2022, 4:56 PMKevin Kho
07/05/2022, 4:57 PMash
07/05/2022, 4:57 PMwith Flow("Advance Flow 2", state_handlers=[flow_alert], result = S3Result(bucket='bucket_name', location ="prefect_logs/results/"+"{date:%Y-%m-%d}/{task_name}"+"_{date:%H}.prefect")) as f:
Kevin Kho
07/05/2022, 4:58 PMash
07/05/2022, 5:02 PMtask1---> task2--->task3---->task4 = flow
question-1) what will happen if i persist output of task3
and code breaks at task4
and i restart the flow from dashboard.
question-2) what will happen if i persist output of task3
and code breaks at `task2`and i restart the flow from dashboardKevin Kho
07/05/2022, 5:03 PMash
07/05/2022, 5:04 PMKevin Kho
07/05/2022, 5:04 PMStarting task1...
but it should just end immediately and not runash
07/05/2022, 5:05 PMKevin Kho
07/05/2022, 5:06 PMash
07/05/2022, 5:09 PMtask2
will run and not task1
as it already ran successfully but knowing that i only persist task3
result and the dependency order of the flow is
task1---> task2--->task3---->task4
task1
is not persisted shouldn't it run again?Kevin Kho
07/05/2022, 5:10 PMcaching
along with the results. Docs here and this won’t re-run the taskash
07/05/2022, 5:15 PMKevin Kho
07/05/2022, 5:17 PMash
07/05/2022, 5:21 PMKevin Kho
07/05/2022, 5:22 PM