HomeClusterLabs Projects

Refactor: scheduler: check for dangling migration before setting role

Description

Refactor: scheduler: check for dangling migration before setting role

Previously, unpack_migrate_to_success() set rsc->role = RSC_ROLE_STARTED
then checked for dangling migration, which would reset it to RSC_ROLE_STOPPED.

For clarity, do the dangling migration check first.

Details

Provenance
kgaillotAuthored on Jan 31 2023, 5:57 PM
Parents
rPf1b0664097fc: Refactor: scheduler: functionize adding a dangling migration
Branches
Unknown
Tags
Unknown