]> git.proxmox.com Git - pve-ha-manager.git/commit
manager: update crs scheduling mode once per round
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 19 Nov 2022 12:36:57 +0000 (13:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 19 Nov 2022 13:05:26 +0000 (14:05 +0100)
commit086f7075d0eb459646ec937f4e592be71efe37fa
treeeec83b063eeb06c74f94e9ca9496d6d832c86f6c
parentcb06cd421a383f2235670920df237c19b4d1a60c
manager: update crs scheduling mode once per round

Pretty safe to do as we recompute everything per round anyway (and
much more often on top of that, but that's another topic).

Actually I'd argue that it's safer as this way a user doesn't need to
actively restart the manager, which grinds much more gears and
watchdog changes than checking periodically and updating it
internally. Plus, a lot of admins won't expect that they need to
restart the current active master and thus they'll complain that
their recently made change to the CRS config had no effect/the CRS
doesn't work at all.

We should codify such a change in test for this though.

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