Open ccicconetti opened 2 months ago
Furthermore, the exit of a function (and a resource) should be handled.
Currently, such an event goes unnoticed and the ε-ORC does not know that the function is not running properly (hence can take no corrective actions).
When an edgeless_node starts a function in
it optimistically assumes that the creation of the function instance will not fail, in fact,
function_instance_runner::FunctionInstanceRunner::new()
does not return aResult
but an object.However, with a container run-time the creation may fail for a number of good reasons (e.g., Docker daemon not responding, image not available locally), therefore the failure should be handled to avoid the current situation: