Bug #77573 | XA issue with Connector/J 5.1.27 and 5.1.35 | ||
---|---|---|---|
Submitted: | 1 Jul 2015 9:18 | Modified: | 15 Dec 2015 12:18 |
Reporter: | Francois Courtault | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S1 (Critical) |
Version: | 5.1.35 | OS: | Any |
Assigned to: | Alexander Soklakov | CPU Architecture: | Any |
Tags: | xa |
[1 Jul 2015 9:18]
Francois Courtault
[1 Jul 2015 9:20]
Francois Courtault
The Java program to reproduce the issue
Attachment: TestMySQLXAConnectorJ.java (application/octet-stream, text), 11.38 KiB.
[1 Jul 2015 9:51]
MySQL Verification Team
Hello Francois Courtault, Thank you for the report and test case. Thanks, Umesh
[9 Jul 2015 8:51]
Francois Courtault
Hello, Any update on this issue ? Best Regards.
[9 Sep 2015 4:33]
Francois Courtault
Hello, I don't understand. The severity of this bug is S1 (critical) since 2 months but I haven't receive any feedback from you since then. I am very disapointed. Could you please tell me what's going on ? Regards.
[9 Sep 2015 4:39]
Francois Courtault
Hello again, In order to help you to move forward you may contact Monica Riccelli from Oracle Who help me to diagnose this issue. Regards
[21 Sep 2015 9:00]
Alexander Soklakov
Hi Francois, Sorry for delay. The problem is caused by MySQL server limitation of XA support. Please look into http://dev.mysql.com/doc/refman/5.7/en/xa-statements.html, "For XA START, the JOIN and RESUME clauses are not supported". Connector/J can't do much about that, we translate xaRes.start(xid1, XAResource.TMJOIN) into "XA START 0x8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x1 JOIN", but server doesn't understand that. It's easy to check with MySQL client: mysql> XA START 0x8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x1 JOIN; mysql> ERROR 1398 (XAE05): XAER_INVAL: Invalid arguments (or unsupported command) Please report a bug (or feature request) against server. I would close this one, against c/J, as Not a Bug if you don't mind. Thanks.
[21 Sep 2015 9:45]
Francois Courtault
Hello, I have openened a new issue http://bugs.mysql.com/bug.php?id=78498 Best Regards.
[21 Sep 2015 12:26]
MySQL Verification Team
Related FR - Bug #78498
[15 Dec 2015 12:18]
Filipe Silva
Closed as not a Bug as per report analysis.