haenv => $haenv,
manager => undef,
status => { state => 'startup' },
+ cluster_state_update => 0,
}, $class;
$self->set_local_status({ state => 'wait_for_quorum' });
$haenv->loop_start_hook();
+ $self->{cluster_state_update} = $haenv->cluster_state_update();
+
my $res = $self->work();
$haenv->loop_end_hook();
$shutdown = 1;
} else {
+
$manager->manage();
}
};