File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11use super :: { Executable , default_tracing} ;
2- use crate :: common:: {
3- connect_to_coordinator, handle_dataflow_result, query_running_dataflows,
4- } ;
2+ use crate :: common:: { connect_to_coordinator, handle_dataflow_result, query_running_dataflows} ;
53use communication_layer_request_reply:: TcpRequestReplyConnection ;
64use dora_core:: topics:: { DORA_COORDINATOR_PORT_CONTROL_DEFAULT , LOCALHOST } ;
75use dora_message:: cli_to_coordinator:: ControlRequest ;
Original file line number Diff line number Diff line change @@ -961,7 +961,9 @@ impl Daemon {
961961 . log (
962962 LogLevel :: Debug ,
963963 Some ( "daemon" . into ( ) ) ,
964- format ! ( "received NodeFailed event from {source_node_id} for {receiver_node_id}" ) ,
964+ format ! (
965+ "received NodeFailed event from {source_node_id} for {receiver_node_id}"
966+ ) ,
965967 )
966968 . await ;
967969
@@ -1776,7 +1778,7 @@ impl Daemon {
17761778
17771779 // Separate local and remote receivers to avoid borrow checker issues
17781780 let mut remote_receivers = Vec :: new ( ) ;
1779-
1781+
17801782 // Send one NodeFailed event per receiver node with all affected input IDs
17811783 for ( receiver_node_id, affected_input_ids) in affected_by_receiver {
17821784 // Check if receiver is on this daemon (local) or another daemon (remote)
@@ -1806,9 +1808,12 @@ impl Daemon {
18061808 affected_input_ids,
18071809 error : error_message. clone ( ) ,
18081810 } ;
1809-
1811+
18101812 // Send to remote receivers using the same mechanism as regular outputs
1811- if let Err ( err) = self . send_to_remote_receivers ( dataflow_id, & output_id, event) . await {
1813+ if let Err ( err) = self
1814+ . send_to_remote_receivers ( dataflow_id, & output_id, event)
1815+ . await
1816+ {
18121817 tracing:: warn!(
18131818 "Failed to send error event to remote receiver {}: {err:?}" ,
18141819 receiver_node_id
You can’t perform that action at this time.
0 commit comments