ha/service-mgmt
Bin Qian d91b069daf Avoid potential blocking of heartbeat thread
This is to avoid waiting for hbs cluster query for sending SM alive
pulse. When a hbs cluster query or alive pulse is being sent, do not
queue the subsequent alive pulse, as current request being sent is good
enough to update hbs agent.
Also move the function retrieving sock address to initial from inside
the query sending procedure. The function getaddrinfo to avoid indirectly
calling malloc, which invokes malloc_atfork to potentially a blocking call.

TCs:
   This could improve in extreme situation only, passed regression.

Closes-bug: 2025504

Change-Id: I520b42f0330b670e301279c2e42670d40361adc5
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2023-11-17 21:01:08 +00:00
..
sm Avoid potential blocking of heartbeat thread 2023-11-17 21:01:08 +00:00
sm-common IF_STATE_MASK fix for SM_FAILOVER_HEARTBEAT_ALIVE 2023-10-02 07:45:36 -04:00
sm-db Merge "Use FQDN for MGMT network" 2023-11-02 20:22:20 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:26 -07:00