HomeClusterLabs Projects

Refactor: libcrmcluster: move election object into cluster object

Description

Refactor: libcrmcluster: move election object into cluster object

Only one election can be created per cluster, so it makes sense to just make
pcmkelection_t a member of pcmkcluster_private_t.

All election APIs must now take the cluster object rather than the election
object as an argument. The controller cluster object moves into
controld_globals to accommodate this.

Details

Provenance
kgaillotAuthored on Jul 29 2024, 7:40 PM
Parents
rPdaaf4f7f6a3b: Refactor: libcrmcluster: drop unused argument from parse_election_message()
Branches
Unknown
Tags
Unknown