HomeClusterLabs Projects

API: libcrmcluster: Drop crm_peer_seq global variable

Description

API: libcrmcluster: Drop crm_peer_seq global variable

It's used only by the controller, so replace it with
controld_globals.peer_seq. As noted in the TODO comment, it's unclear
exactly what the relationships are among this, highest_seq, and
controld_globals.membership_id. Sorting that out is out of scope of this
commit.

This breaks API backward compatibility.

Ref T793

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jun 21 2024, 1:11 AM
Parents
rP6c96aac3992f: API: libcrmcluster: Drop CRM_NODE_LOST string constant
Branches
Unknown
Tags
Unknown
Tasks
T793: Drop public API access to most of libcrmcluster