HomeClusterLabs Projects

Low: attrd: delay lrmd connect until needed

Description

Low: attrd: delay lrmd connect until needed

Before, for each attribute change, we would attempt to connect to the lrmd,
then send any alerts. However, most clusters won't have attribute alerts,
so the connection is unnecessary. Now, attrd waits until the connection
is actually needed before attempting to connect.

This also removes obsolete handling from the lrmd callback, since the
lrmd no longer notifies clients of alert completion.

Details

Provenance
kgaillotAuthored on Jul 13 2017, 1:43 PM
Parents
rPfc0f232e12e3: Refactor: attrd: add timestamp to alert just when needed
Branches
Unknown
Tags
Unknown

Event Timeline