HomeClusterLabs Projects

Low: libcrmcommon: improve IPC connection logging and retries

Description

Low: libcrmcommon: improve IPC connection logging and retries

Use pcmk__connect_ipc() instead of pcmk_connect_ipc() everywhere,
since the callers have better context for error reporting. Also,
standardize on the number of attempts:

  • 2 when checking for pre-existing daemon instance
  • 3 for (explicit) daemon connections to other daemons
  • 5 for tools and library APIs

Details

Provenance
kgaillotAuthored on Jun 29 2023, 11:23 AM
Parents
rP763ed23bfe92: Low: libcrmcommon: wait 500ms before IPC connection retry
Branches
Unknown
Tags
Unknown