HomeClusterLabs Projects

Fix: pacemaker-attrd: prevent segfault if a peer leaves when its name is…

Description

Fix: pacemaker-attrd: prevent segfault if a peer leaves when its name is unknown yet

If nodes are not configured with names in corosync, when a node joins
the cluster, it takes a while for it to learn the names of all the other
online peers. Previously, if any of the peers happened to leave when its
name was unknown to us yet, pacemaker-attrd would trigger assertion in
attrd_peer_remove() and segfault in
attrd_remove_peer_protocol_ver().

Details

Provenance
gao-yanAuthored on Tue, Mar 18, 11:57 AM
Parents
rP6d6734a86b08: Merge pull request #3837 from nrwahl2/nrwahl2-crm_resource3
Branches
Unknown
Tags
Unknown