https://prefect.io logo
s

Soami Charan

05/23/2023, 3:45 AM
Hi, Scenario to a possible bug: Step 1: Start Prefect Server and worker. Step 2: Run a long running deployment let say
Deployment-1
. Step 3: Prefect Server is killed/stopped. Step 4: After some time, restarted Prefect Server. So the flow run for
Deployment-1
stuck in running status and its neither
CRASH
or
CANCEL
. So how to handle such scenarios??
I tried giving
timeout_seconds
options and still it stuck in running, its not getting
FAILED
d

Deceivious

05/23/2023, 8:33 AM
All the agents connect to the server to update state. The state cannot be updated be done on the database once the server has been killed off because there is no way for agent to directly communicate with the DB which holds the state,
4 Views