ash
07/05/2022, 4:45 PMKevin Kho
ash
07/05/2022, 4:46 PMKevin Kho
ash
07/05/2022, 4:53 PMash
07/05/2022, 4:54 PMash
07/05/2022, 4:54 PMash
07/05/2022, 4:56 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
ash
07/05/2022, 4:56 PMKevin Kho
ash
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
Kevin Kho
ash
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 dashboardash
07/05/2022, 5:02 PMKevin Kho
ash
07/05/2022, 5:04 PMKevin Kho
Kevin Kho
Starting task1...
but it should just end immediately and not runash
07/05/2022, 5:05 PMash
07/05/2022, 5:06 PMKevin Kho
ash
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
ash
07/05/2022, 5:09 PMtask1
is not persisted shouldn't it run again?Kevin Kho
Kevin Kho
caching
along with the results. Docs here and this won’t re-run the taskash
07/05/2022, 5:15 PMash
07/05/2022, 5:16 PMKevin Kho
ash
07/05/2022, 5:21 PMKevin Kho