[pve-devel] [PATCH ha-manager v2 2/2] cleanup backup & mounted locks after recovery (fixes #1100)
Dietmar Maurer
dietmar at proxmox.com
Tue Sep 13 07:26:20 CEST 2016
> # after a node was fenced this recovers the service to a new node
> my $recover_fenced_service = sub {
> my ($self, $sid, $cd) = @_;
> @@ -266,6 +289,8 @@ my $recover_fenced_service = sub {
>
> $haenv->steal_service($sid, $sd->{node}, $recovery_node);
>
> + &$after_recovery_cleanup($self, $sid);
> +
I would prefer an earlier check in steal_service(). We can then avoid
moving config files if a resource has a lock, or use local devices?
More information about the pve-devel
mailing list