HomeClusterLabs Projects

Fix: scheduler: ensure attenuated scores still have some effect

Description

Fix: scheduler: ensure attenuated scores still have some effect

As of 8d8b019b, a dependent resource's preferences are taken into account at
1/INFINITY strength. However, that factor can obliterate the effect of
(small) scores used in real-world configurations. So, if the original score is
nonzero, ensure the attenuated score is nonzero as well.

Details

Provenance
kgaillotAuthored on Nov 5 2019, 5:43 PM
Parents
rP6630c89bb3da: Log: scheduler: improve messages when allocating resources
Branches
Unknown
Tags
Unknown

Event Timeline