diff --git a/monitor.c b/monitor.c index 4efe5da..1107d47 100644 --- a/monitor.c +++ b/monitor.c @@ -235,6 +235,13 @@ static int read_and_act(struct active_array *a) } } + if (a->curr_state > inactive && + a->prev_state == inactive) { + /* array has been started + * possible that container operation has to be completed + */ + a->container->ss->set_array_state(a, 0); + } if (a->curr_state <= inactive && a->prev_state > inactive) { /* array has been stopped */