Open Hennzau opened 1 week ago
on windows I have this error in dora-coordinator
output file:
2024-07-01T19:56:46.554799Z ERROR dora_coordinator::control: failed to send reply
2024-07-01T19:56:46.554844Z ERROR dora_coordinator::control: failed to send reply
I'm unable to reproduce. I get the following behaviour:
https://github.com/dora-rs/dora/assets/22787340/c2a080dd-0295-4a5c-babb-90e7dfc22c90
Are you saying that the dynamic node is not stopping? Or that the dataflow is not stopping?
P.S: Sorry the screen recording only recorded half of the screen.
Hi, it's the dataflow that is not stopping. Even if I don't run the dynamic node, i'm unable to stop the dataflow. Here is a record:
https://github.com/dora-rs/dora/assets/72349109/3f1e67f0-77e2-45bd-9222-1c56a88e0a9a
So I think that you might need to start the dynamic node first before stopping the dataflow. I think not starting the dataflow is going to make it impossible to stop a not started dataflow.
I think we should fix this but this might be your error.
I opened https://github.com/dora-rs/dora/pull/583 with a potential fix. Perhaps you could give it a try if you have time, @Hennzau?
Describe the bug
When I launch a dataflow where a node is dynamic, I can't stop it; no crash of coordinator or daemon (CTRL+C if attached, dora stop if detached).
To Reproduce Steps to reproduce the behavior:
dora up
dora start dataflow.yaml
(optional: --detach)dora stop
/CTRL+C
At this step it blocks until I do:dora destroy
On windows, i can only tell that when i want to do
dora stop
it blocks. Because CTRL+C in attached mode always make the coordinator crashEnvironments (please complete the following information):