HomeClusterLabs Projects

API: libpe_status: deprecate cleanup_calculations()

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

API: libpe_status: deprecate cleanup_calculations()

cleanup_calculations() is equivalent to pcmk_reset_scheduler() except
for not freeing ordering, location, or colocation constraints. However
it logged an assertion if location or ordering constraints were
non-NULL, and it called set_working_set_defaults() which would NULL the
constraint members without freeing them.

Therefore we can simply replace calls with pcmk_reset_scheduler().
There's no reason to ever zero constraints without freeing them.

Details

Provenance
kgaillotAuthored on Nov 12 2024, 2:59 PM

Commit No Longer Exists

This commit no longer exists in the repository.