Red Hat Bugzilla – Bug 570756
DtxSetTimeout sent after XID has already been committed
Last modified: 2010-10-14 12:01:24 EDT
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.
Created attachment 398019 [details] qpidd log file
See also https://issues.apache.org/jira/browse/QPID-2432 for a more detailed description of the bug.
I added a fix in rev 919666 in Qpid trunk.
Could you please provide reporducer or at least info how to verify it? Thanks
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.
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
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