Red Hat Bugzilla – Bug 1261187
[AMQP 1.0] Fix heartbeat anomalies (backport into MRG 3.2)
Last modified: 2015-10-13 09:01:00 EDT
Description of problem:
The first heartbeat is often sent after the full idle period, whereas subsequent heartbeats are sent twice as frequently. This happens on both broker and client. This is a result of the periodic timer task that triggers the heartbeats being out of sync with the times computed by proton.
Also on the client, occasionally a heartbeat is missed. This is in part due to the issue above, but also occasionally due to timing of incoming heartbeats with respect to the timer task, resulting in proton emitting the heartbeat but it not actually being written to the wire.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This issue has been fixed. All the heartbeats respects the given interval (including the first one). Verified on rhel6.7(i386, x86_64) and rhel7.1(x86_64).