Bug 504536 - CTRL-Z and connect does not trigger heartbeat
Summary: CTRL-Z and connect does not trigger heartbeat
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: 1.1.2
: ---
Assignee: Carl Trieloff
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-08 01:43 UTC by Carl Trieloff
Modified: 2015-11-16 00:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-12 17:39:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fix for issue (747 bytes, patch)
2009-06-08 01:46 UTC, Carl Trieloff
no flags Details | Diff
Extra patch for closing connection (519 bytes, patch)
2009-06-23 03:08 UTC, Andrew Stitcher
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1097 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging bug fixing update 2009-06-12 17:38:48 UTC

Description Carl Trieloff 2009-06-08 01:43:25 UTC
To reproduce,

./qpidd --auth no 
Then CTRL -Z
./latencytest --rate 10 --heartbeat 1

it should respond with connection closed. If latencytest does not get the
connection closed then the bug still exists.

Comment 1 Carl Trieloff 2009-06-08 01:46:25 UTC
Created attachment 346797 [details]
fix for issue

Comment 2 Carl Trieloff 2009-06-08 02:06:54 UTC
Testing the following also needs to be done to close the BZ

- start 2 brokers
- CNTRL-Z one of them
- connect with a failover subscriber, passing URL's for both nodes, the CNTRL-Z 'ed broker as the first one in the string
- check that the listner fails over and connects to the second broker.

if it connects to the second broker, the issue is resolve

Comment 3 Gordon Sim 2009-06-09 08:25:54 UTC
Fixed in qpidc-0.5.752581-13.el5

Comment 4 Frantisek Reznicek 2009-06-09 16:15:49 UTC
The issue has been fixed, validated on RHEL 4.7 / 5.3 i386 / x86_64 on packages qpid*-0.5.752581-13.el* and qpid*-0.5.752581-14.el5.

Note: Both parts verified (#0, #2).

->VERIFIED

Comment 6 errata-xmlrpc 2009-06-12 17:39:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1097.html

Comment 7 Andrew Stitcher 2009-06-23 03:08:51 UTC
Created attachment 349032 [details]
Extra patch for closing connection


Note You need to log in before you can comment on or make changes to this bug.