]> git.proxmox.com Git - pve-ha-manager.git/commit
manager: select service node: allow to force best-score selection withot try-next
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 08:43:06 +0000 (09:43 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 10:09:01 +0000 (11:09 +0100)
commit2fdf40f2825d226efe3429acdc779b6a2594d362
tree3a55ddca5a53c9884fe9c14a3eccd7a92fe16125
parentc2f2b9c62c340aa0ca7b15ae5fb982f27c562580
manager: select service node: allow to force best-score selection withot try-next

useful for re-balanacing on start, where we do not want to exclude
the current node like setting the $try_next param does, but also
don't want to favor it like not setting the $try_next param does.

We might want to transform both, `try_next` and `best_scored` into a
single `mode` parameter to reduce complexity and make it more
explicit what we want here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Manager.pm