Hi,

While updating some code, I noticed that Pacemaker currently allows
negative values for resource and node utilization values.

For those unfamiliar with utilization, it's a way to balance resources
by node capacity:

https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html#idm46061210829040

Logically, capacities can't be negative, but that doesn't mean someone
somewhere isn't using them for something ...

Would anyone object to Pacemaker restricting utilization values to be
non-negative? Any negative (or otherwise invalid) values configured
would be treated as 0.
-- 
Ken Gaillot <kgail...@redhat.com>

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to