Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.1.30
Description
XA RECOVER prints data in binary, because that format — raw XIDs — is most useful for the transaction coordinator.
But occasionally, a human intervention is necessary. For this use case it would be convenient if XA RECOVER could return XID in some format that can be directly copied into XA COMMIT or XA ROLLBACK.
Also, mysql command line client has a --binary-as-hex option, but it does not work for XA RECOVER. It should be fixed, if possible.
MySQL has the command XA RECOVER CONVERT XID that returns the value of XID in hex. But it cannot be directly copied into XA COMMIT or XA ROLLBACK.
Attachments
Issue Links
- duplicates
-
MDEV-14595 Add "CONVERT" option to "XA RECOVER"
-
- Closed
-
- relates to
-
MDEV-14913 Document human-readable XA RECOVER
-
- Closed
-
-
MDEV-14922 XA RECOVER FORMAT='SQL' requires quotes while XA RECOVER FORMAT=RAW does not
-
- Confirmed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue duplicates |
Remote Link | This issue links to "Bug #87526 The output of 'XA recover convert xid' is not useful (Web Link)" [ 28303 ] |
Description |
{{XA RECOVER}} prints data in binary, because that format — raw XIDs — is most useful for the transaction coordinator.
But occasionally, a human intervention is necessary. For this use case it would be convenient if {{XA RECOVER}} could return XID in some format that can be directly copied into {{XA COMMIT}} or {{XA ROLLBACK}}. Also, {{mysql}} command line client has a {{--binary-as-hex}} option, but it does not work for {{XA RECOVER}}. It should be fixed, if possible. |
{{XA RECOVER}} prints data in binary, because that format — raw XIDs — is most useful for the transaction coordinator.
But occasionally, a human intervention is necessary. For this use case it would be convenient if {{XA RECOVER}} could return XID in some format that can be directly copied into {{XA COMMIT}} or {{XA ROLLBACK}}. Also, {{mysql}} command line client has a {{--binary-as-hex}} option, but it does not work for {{XA RECOVER}}. It should be fixed, if possible. MySQL has the command {{XA RECOVER CONVERT XID}} that returns the value of XID in hex. But it cannot be directly copied into {{XA COMMIT}} or {{XA ROLLBACK}}. |
Remote Link | This issue links to "lp:1712649 The output of 'XA recover convert xid' is not useful (Web Link)" [ 28304 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Sprint | 10.1.30 [ 215 ] |
Assignee | Sergei Golubchik [ serg ] | Alexey Botchkov [ holyfoot ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2017-12-17 22:24:23.0 | 2017-12-17 22:24:23.054 |
Fix Version/s | 10.2.12 [ 22810 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.3.3 [ 22644 ] | |
Fix Version/s | 10.2.12 [ 22810 ] |
Link |
This issue relates to |
Link | This issue relates to MDEV-14922 [ MDEV-14922 ] |
Workflow | MariaDB v3 [ 84322 ] | MariaDB v4 [ 133414 ] |
Zendesk Related Tickets | 117804 165803 |
Patch proposal:
http://lists.askmonty.org/pipermail/commits/2017-December/011705.html