Type:
Task
Priority:
Major
Resolution:
Fixed
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 .
Sergei Golubchik
made changes -
2017-12-06 07:36
Remote Link
This issue links to "Bug #87526 The output of 'XA recover convert xid' is not useful (Web Link)"
[ 28303
]
Sergei Golubchik
made changes -
2017-12-06 07:38
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}}.
Sergei Golubchik
made changes -
2017-12-06 07:41
Remote Link
This issue links to "lp:1712649 The output of 'XA recover convert xid' is not useful (Web Link)"
[ 28304
]
Alexey Botchkov
made changes -
2017-12-06 18:47
Status
Open
[ 1
]
In Progress
[ 3
]
Alexey Botchkov
made changes -
2017-12-07 20:17
Assignee
Alexey Botchkov
[ holyfoot
]
Sergei Golubchik
[ serg
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Sergei Golubchik
made changes -
2017-12-14 16:29
Assignee
Sergei Golubchik
[ serg
]
Alexey Botchkov
[ holyfoot
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Alexey Botchkov
made changes -
2017-12-17 22:24
issue.field.resolutiondate
2017-12-17 22:24:23.0
2017-12-17 22:24:23.054
Alexey Botchkov
made changes -
2017-12-17 22:24
Fix Version/s
10.2.12
[ 22810
]
Fix Version/s
10.2
[ 14601
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2017-12-21 14:47
Fix Version/s
10.3.3
[ 22644
]
Fix Version/s
10.2.12
[ 22810
]
Sergei Golubchik
made changes -
2021-12-06 21:23
Workflow
MariaDB v3
[ 84322
]
MariaDB v4
[ 133414
]
{"report":{"fcp":2905.2999997138977,"ttfb":543.2999997138977,"pageVisibility":"visible","entityId":64721,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"5152b20d-4c31-45a4-8d0b-ddef96503cd3","navigationType":0,"readyForUser":2985.0999999046326,"redirectCount":0,"resourceLoadedEnd":2747.5,"resourceLoadedStart":707.2999997138977,"resourceTiming":[{"duration":69.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":707.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":707.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":776.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":69.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":707.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":707.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":776.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":1255.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":707.7999997138977,"connectEnd":707.7999997138977,"connectStart":707.7999997138977,"domainLookupEnd":707.7999997138977,"domainLookupStart":707.7999997138977,"fetchStart":707.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":779.6999998092651,"responseEnd":1962.8999996185303,"responseStart":1306.5,"secureConnectionStart":707.7999997138977},{"duration":1660.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":707.8999996185303,"connectEnd":707.8999996185303,"connectStart":707.8999996185303,"domainLookupEnd":707.8999996185303,"domainLookupStart":707.8999996185303,"fetchStart":707.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":779.8999996185303,"responseEnd":2368.3999996185303,"responseStart":1307.2999997138977,"secureConnectionStart":707.8999996185303},{"duration":706.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":708.0999999046326,"connectEnd":708.0999999046326,"connectStart":708.0999999046326,"domainLookupEnd":708.0999999046326,"domainLookupStart":708.0999999046326,"fetchStart":708.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":780,"responseEnd":1414.6999998092651,"responseStart":1312.6999998092651,"secureConnectionStart":708.0999999046326},{"duration":706.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":708.2999997138977,"connectEnd":708.2999997138977,"connectStart":708.2999997138977,"domainLookupEnd":708.2999997138977,"domainLookupStart":708.2999997138977,"fetchStart":708.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":780.0999999046326,"responseEnd":1414.7999997138977,"responseStart":1319.6999998092651,"secureConnectionStart":708.2999997138977},{"duration":706.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":708.5,"connectEnd":708.5,"connectStart":708.5,"domainLookupEnd":708.5,"domainLookupStart":708.5,"fetchStart":708.5,"redirectEnd":0,"redirectStart":0,"requestStart":780.2999997138977,"responseEnd":1414.8999996185303,"responseStart":1346.7999997138977,"secureConnectionStart":708.5},{"duration":69,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":708.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":708.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":777.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":706.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":708.7999997138977,"connectEnd":708.7999997138977,"connectStart":708.7999997138977,"domainLookupEnd":708.7999997138977,"domainLookupStart":708.7999997138977,"fetchStart":708.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":780.2999997138977,"responseEnd":1415,"responseStart":1365.5,"secureConnectionStart":708.7999997138977},{"duration":68.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":709,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":709,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":777.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":772,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":709.0999999046326,"connectEnd":709.0999999046326,"connectStart":709.0999999046326,"domainLookupEnd":709.0999999046326,"domainLookupStart":709.0999999046326,"fetchStart":709.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":787.0999999046326,"responseEnd":1481.0999999046326,"responseStart":1415.0999999046326,"secureConnectionStart":709.0999999046326},{"duration":2037,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":710.3999996185303,"connectEnd":710.3999996185303,"connectStart":710.3999996185303,"domainLookupEnd":710.3999996185303,"domainLookupStart":710.3999996185303,"fetchStart":710.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":961.5,"responseEnd":2747.3999996185303,"responseStart":2608.199999809265,"secureConnectionStart":710.3999996185303},{"duration":1968.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":779.1999998092651,"connectEnd":779.1999998092651,"connectStart":779.1999998092651,"domainLookupEnd":779.1999998092651,"domainLookupStart":779.1999998092651,"fetchStart":779.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1090.5999999046326,"responseEnd":2747.5,"responseStart":2615.699999809265,"secureConnectionStart":779.1999998092651},{"duration":561.6999998092651,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2186,"connectEnd":2186,"connectStart":2186,"domainLookupEnd":2186,"domainLookupStart":2186,"fetchStart":2186,"redirectEnd":0,"redirectStart":0,"requestStart":2339.5999999046326,"responseEnd":2747.699999809265,"responseStart":2670.7999997138977,"secureConnectionStart":2186}],"fetchStart":0,"domainLookupStart":64,"domainLookupEnd":97,"connectStart":97,"connectEnd":119,"secureConnectionStart":106,"requestStart":119,"responseStart":543,"responseEnd":781,"domLoading":594,"domInteractive":3160,"domContentLoadedEventStart":3160,"domContentLoadedEventEnd":3236,"domComplete":4758,"loadEventStart":4758,"loadEventEnd":4758,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3122.0999999046326},{"name":"bigPipe.sidebar-id.end","time":3126.699999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":3127.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":3131.2999997138977},{"name":"activityTabFullyLoaded","time":3253.2999997138977}],"measures":[],"correlationId":"c0bee75da13514","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":148,"dbReadsTimeInMs":28,"dbConnsTimeInMs":38,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}