HomeClusterLabs Projects

Feature: daemons: execd should read remote client messages async.

Description

Feature: daemons: execd should read remote client messages async.

Instead of calling pcmkread_remote_message, which blocks, use
pcmk
read_available_remote_data instead. This function will attempt to
read a message but if the other side of the connection isn't ready or
doesn't give us the complete message, we'll go back to the main loop and
try again later instead of block.

Additionally, clean up the code formatting a little bit and make the
error messages more helpful.

Related T855

Details

Provenance
clumensAuthored on Aug 26 2024, 3:41 PM
Parents
rP102cdfa2e056: Merge pull request #3704 from clumens/public-libpacemaker
Branches
Unknown
Tags
Unknown