HomeClusterLabs Projects

Refactor: scheduler: make digest calculation more efficient

Description

Refactor: scheduler: make digest calculation more efficient

Previously, calculate_main_digest() create a transient instance of an action
using custom_action(). However, it only needed the action's meta-attributes and
action-specific resource instance attributes. Use the new parsing functions to
get just those, allowing us to avoid the rest of custom_action()'s processing.

Details

Provenance
kgaillotAuthored on Jul 31 2023, 5:47 PM
Parents
rPf10ab9b99e23: Refactor: scheduler: functionize and expose parsing role after failure
Branches
Unknown
Tags
Unknown