Emit the given error, and stall till the dataflow is restarted.
(
context: String,
e: anyhow::Error,
health_output: &AsyncOutputHandle<
T,
CapacityContainerBuilder<Vec<(Option<GlobalId>, HealthStatusUpdate)>>,
>,
health_cap: &Ca
| 1279 | |
| 1280 | /// Emit the given error, and stall till the dataflow is restarted. |
| 1281 | async fn process_upsert_state_error<T: Timestamp>( |
| 1282 | context: String, |
| 1283 | e: anyhow::Error, |
| 1284 | health_output: &AsyncOutputHandle< |
| 1285 | T, |
| 1286 | CapacityContainerBuilder<Vec<(Option<GlobalId>, HealthStatusUpdate)>>, |
| 1287 | >, |
| 1288 | health_cap: &Capability<T>, |
| 1289 | ) { |
| 1290 | let update = HealthStatusUpdate::halting(e.context(context).to_string_with_causes(), None); |
| 1291 | health_output.give(health_cap, (None, update)); |
| 1292 | std::future::pending::<()>().await; |
| 1293 | unreachable!("pending future never returns"); |
| 1294 | } |
nothing calls this directly
no test coverage detected