Am 20.10.25 um 6:46 PM schrieb Daniel Kral: > The HA Manager builds $online_node_usage in every FSM iteration in > manage(...) and at every HA resource state change in > change_service_state(...). This becomes quite costly with a high HA > resource count and a lot of state changes happening at once, e.g. > starting up multiple nodes with rebalance_on_request_start set or a > failover of a node with many configured HA resources. > > To improve this situation, make the changes to the $online_node_usage > more granular by building $online_node_usage only once per call to > manage(...) and changing the nodes a HA resource uses individually on > every HA resource state transition. This allows the HA Manager to handle > many more HA resources with the static load scheduler. > > Signed-off-by: Daniel Kral <[email protected]>
Reviewed-by: Fiona Ebner <[email protected]> _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
