HomeClusterLabs Projects

Low: libpe_status: handle pending migrations correctly

Description

Low: libpe_status: handle pending migrations correctly

This is mainly a refactor of unpack_rsc_migration() for readability.

The one significant change is that previously, a migrate_from operation that
was *recorded* as pending (record-pending=true) was treated differently from an
unrecorded pending migrate_from (record-pending=false).

Details

Provenance
kgaillotAuthored on May 22 2018, 12:00 PM
Parents
rP884195161b58: Refactor: scheduler: don't hide previously declared variable
Branches
Unknown
Tags
Unknown

Event Timeline