[pve-devel] applied-series: [PATCH ha-manager 1/2] fix #4984: recompute online usage: add service usage to migration target only if online

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 6 18:10:34 CEST 2023


Am 05/10/2023 um 16:05 schrieb Fiona Ebner:
> Otherwise, when using the 'basic' plugin, this would lead to
> autovivification of the $target node in the Perl hash tracking the
> usage and it would wrongly be considered online when selecting the
> recovery node.
> 
> The 'static' plugin was not affected, because it would check and warn
> before adding usage to a node that was not registered with add_node()
> first. Doing the same in the 'basic' plugin will be done by another
> patch.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
>  src/PVE/HA/Manager.pm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied both patches with slightly rewording/shortening the commit message
subject, thanks!





More information about the pve-devel mailing list