ironic-python-agent/releasenotes/notes/coalesce_heartbeats-fb8899a5f9fe4709.yaml
Dmitry Tantsur b605943796 Coalesce heartbeats
The IPA sends heartbeats to the conductor periodically and when
requested, e.g. at the end of asynchronous commands. In order
to avoid to send such notifications in too quick succession,
e.g. when two asynchronous commands finish at the same time or
when the periodic heartbeat was just sent right before a command
ended, this patch proposes to coalesce heartbeats which are
close together timewise and send only one for all of them
in a time interval of 5 seconds.

Co-Authored-By: Arne Wiebalck <arne.wiebalck@cern.ch>

Story: #2008983
Task: 42633

Change-Id: Idfbce44065e1e5a8b730b94741b2604c51f0ab14
2021-06-18 17:19:30 +02:00

11 lines
324 B
YAML

---
features:
- |
Heartbeats to the conductor are grouped when they are scheduled or
requested within a time interval of five seconds to avoid sending
them in quick succession.
fixes:
- |
Fixes an issue where a quick succession of heartbeats exposes a race
condition in the conductor's RPC handling.