enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #04561
[Bug 1498066] [NEW] Add support for JOIN clause in XA START
Public bug reported:
Documentation of all MySQL versions says (see
http://dev.mysql.com/doc/refman/5.7/en/xa-statements.html):
"For XA START, the JOIN and RESUME clauses are not supported"
This limitation causes a well known problem for Weblogic that looks like
the following error message from various Connector/J version used:
Xid:bea1-0001e1c7904375b56b2b Resource: gemalto_xa_failover.ds
XAResource.start(bea1-0001e1c7904375b56b2b-67656d616c746f5f78615f6661696c6f7665722e64735f67656d616c746f5f646f6d61696e, XAResource.TMNOFLAGS) for
XAResource.end(bea1-0001e1c7904375b56b2b-67656d616c746f5f78615f6661696c6f7665722e64735f67656d616c746f5f646f6d61696e, XAResource.TMSUCCESS)
XAResource.start(bea1-0001e1c7904375b56b2b-67656d616c746f5f78615f6661696c6f7665722e64735f67656d616c746f5f646f6d61696e, XAResource.TMJOIN)
####<2015-06-29_13:39:58,100> <Debug> <JTAXA> <rhel65> <managed1> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0001E1C7904375B56B2B> <> <1435556398100> <BEA-000000> <BEA1-0001E1C7904375B56B2B: null: XA.start FAILED (rm=gemalto_xa_failover.ds_gemalto_domain, xar=gemalto_xa_failover.ds
com.mysql.jdbc.jdbc2.optional.MysqlXAException: XAER_INVAL: Invalid arguments (or unsupported command)
at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.mapXAExceptionFromSQLException(MysqlXAConnection.java:585)
at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.dispatchCommand(MysqlXAConnection.java:568)
at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.start(MysqlXAConnection.java:508)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:811)
See
https://bugs.mysql.com/bug.php?id=78498
https://bugs.mysql.com/bug.php?id=77573
https://bugs.mysql.com/bug.php?id=40591
https://bugs.mysql.com/bug.php?id=40591
for more details and test case.
Basically, this fails at server level:
mysql> XA START 0x8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x1 JOIN;
ERROR 1398 (XAE05): XAER_INVAL: Invalid arguments (or unsupported command)
mysql> select version();
+-----------------+
| version() |
+-----------------+
| 5.6.26-74.0-log |
+-----------------+
1 row in set (0.03 sec)
There is no way to join XA transaction and Weblogic needs this to work.
This is a feature request to add proper support for this clause in
Percona Server.
** Affects: mysql-server
Importance: Unknown
Status: Unknown
** Affects: percona-server
Importance: Undecided
Status: Confirmed
** Affects: percona-server/5.5
Importance: Undecided
Status: Confirmed
** Affects: percona-server/5.6
Importance: Undecided
Status: Confirmed
** Affects: percona-server/5.7
Importance: Undecided
Status: Confirmed
** Tags: i59616 xa
** Bug watch added: MySQL Bug System #78498
http://bugs.mysql.com/bug.php?id=78498
** Also affects: mysql-server via
http://bugs.mysql.com/bug.php?id=78498
Importance: Unknown
Status: Unknown
** Also affects: percona-server/5.5
Importance: Undecided
Status: New
** Also affects: percona-server/5.6
Importance: Undecided
Status: New
** Also affects: percona-server/5.7
Importance: Undecided
Status: New
** Changed in: percona-server/5.7
Status: New => Confirmed
** Changed in: percona-server/5.6
Status: New => Confirmed
** Changed in: percona-server/5.5
Status: New => Confirmed
** Tags added: i59616 xa
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1498066
Title:
Add support for JOIN clause in XA START
To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1498066/+subscriptions