Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 570756

Summary: DtxSetTimeout sent after XID has already been committed
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-javaAssignee: Rajith Attapattu <rattapat+nobody>
Status: CLOSED ERRATA QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 1.2CC: jkolar
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-14 16:01:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
qpidd log file none

Description Gordon Sim 2010-03-05 10:33:13 UTC
2010-mar-05 04:34:58 trace RECV [10.16.88.186:33200]: Frame[BEbe; channel=2; {DtxStartBody: xid={Xid: format=131075; global-id=1-a1058ba:8186:4b90cfd8:f7; branch-id=a1058ba:8186:4b90cfd8:100; }; }]
2010-mar-05 04:34:58 trace RECV [10.16.88.186:33200]: Frame[BEbe; channel=2; {DtxEndBody: xid={Xid: format=131075; global-id=1-a1058ba:8186:4b90cfd8:f7; branch-id=a1058ba:8186:4b90cfd8:100; }; }]
2010-mar-05 04:34:58 trace RECV [10.16.88.186:33200]: Frame[BEbe; channel=2; {DtxPrepareBody: xid={Xid: format=131075; global-id=1-a1058ba:8186:4b90cfd8:f7; branch-id=a1058ba:8186:4b90cfd8:100; }; }]
2010-mar-05 04:34:58 trace RECV [10.16.88.186:33200]: Frame[BEbe; channel=2; {DtxCommitBody: xid={Xid: format=131075; global-id=1-a1058ba:8186:4b90cfd8:f7; branch-id=a1058ba:8186:4b90cfd8:100; }; }]
2010-mar-05 04:34:58 trace RECV [10.16.88.186:33200]: Frame[BEbe; channel=2; {DtxSetTimeoutBody: xid={Xid: format=131075; global-id=1-a1058ba:8186:4b90cfd8:f7; branch-id=a1058ba:8186:4b90cfd8:100; }; timeout=300; }]

Found when attempting to run ESB/SOA-P tests.

Comment 1 Gordon Sim 2010-03-05 10:34:11 UTC
Created attachment 398019 [details]
qpidd log file

Comment 2 Gordon Sim 2010-03-05 11:54:29 UTC
See also https://issues.apache.org/jira/browse/QPID-2432 for a more detailed description of the bug.

Comment 3 Rajith Attapattu 2010-03-09 14:59:31 UTC
I added a fix in rev 919666 in Qpid trunk.

Comment 4 Jiri Kolar 2010-03-16 10:52:44 UTC
Could you please provide reporducer or at least info how to verify it? Thanks

Comment 5 Rajith Attapattu 2010-03-17 16:54:02 UTC
The FaultTest in the Java test suite will test this.
Ex ant test -Dprofile=cpp -Dtest=FaultTest

The specific test is "testTransactionTimeoutAfterCommit"

There is also a test in the SOA-P test harness for this.

Comment 6 Jiri Kolar 2010-05-12 12:33:59 UTC
Tested:
Limited testing with qpidd linked into trunk, isolating of testsuite not possible atm.

Mentioned test fail on 752581, on 935473 does not.

validated on RHEL  5.5 i386 / x86_64  only because on 
RHEL  4.8 test can not be runned because of problems with junit 

packages:

# rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u
openais-0.80.6-16.el5_5.1
openais-debuginfo-0.80.6-16.el5_5.1
openais-devel-0.80.6-16.el5_5.1
python-qpid-0.7.938298-1.el5
qpid-cpp-client-0.7.935473-1.el5
qpid-cpp-client-devel-0.7.935473-1.el5
qpid-cpp-client-devel-docs-0.7.935473-1.el5
qpid-cpp-client-ssl-0.7.935473-1.el5
qpid-cpp-mrg-debuginfo-0.7.935473-1.el5
qpid-cpp-server-0.7.935473-1.el5
qpid-cpp-server-cluster-0.7.935473-1.el5
qpid-cpp-server-devel-0.7.935473-1.el5
qpid-cpp-server-ssl-0.7.935473-1.el5
qpid-cpp-server-store-0.7.935473-1.el5
qpid-cpp-server-xml-0.7.935473-1.el5
qpid-java-client-0.7.934605-1.el5
qpid-java-common-0.7.934605-1.el5
qpid-tools-0.7.934605-2.el5
rhm-docs-0.6.937574-1.el5

->VERIFIED

Comment 8 errata-xmlrpc 2010-10-14 16:01:24 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/RHSA-2010-0773.html