-
Bug
-
-
Major
-
Resolution:
Fixed
-
None
-
-
-
please run test with
--mysqld=--log-bin --mysqld=--general-log
|
:
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (i int, KEY (i)) engine=innodb;
|
INSERT INTO t1 VALUES (4);
|
|
UPDATE t1 SET i = 1;
|
|
XA START 'x1';
|
UPDATE t1 SET i = 1;
|
XA END 'x1';
|
|
XA COMMIT 'x1' ONE PHASE;
|
bb-10.5-mdev_742 ed773a9f1a848df4f8ba
|
#3 <signal handler called>
|
#4 0x00007f77e1985428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
|
#5 0x00007f77e198702a in __GI_abort () at abort.c:89
|
#6 0x00007f77e197dbd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x563e85818a40 "thd->transaction.xid_state.is_explicit_XA()", file=file@entry=0x563e858182e8 "/10.5/sql/log.cc", line=line@entry=1883, function=function@entry=0x563e8581d7c0 <binlog_commit_flush_trx_cache(THD*, bool, binlog_cache_mngr*)::__PRETTY_FUNCTION__> "int binlog_commit_flush_trx_cache(THD*, bool, binlog_cache_mngr*)") at assert.c:92
|
#7 0x00007f77e197dc82 in __GI___assert_fail (assertion=0x563e85818a40 "thd->transaction.xid_state.is_explicit_XA()", file=0x563e858182e8 "/10.5/sql/log.cc", line=1883, function=0x563e8581d7c0 <binlog_commit_flush_trx_cache(THD*, bool, binlog_cache_mngr*)::__PRETTY_FUNCTION__> "int binlog_commit_flush_trx_cache(THD*, bool, binlog_cache_mngr*)") at assert.c:101
|
#8 0x0000563e84ce1de8 in binlog_commit_flush_trx_cache (thd=0x7f77a0000a98, all=true, cache_mngr=0x7f77a004f628) at /10.5/sql/log.cc:1883
|
#9 0x0000563e84ce2f89 in binlog_commit (hton=0x563e87717748, thd=0x7f77a0000a98, all=true) at /10.5/sql/log.cc:2220
|
#10 0x0000563e84bb3bb5 in commit_one_phase_2 (thd=0x7f77a0000a98, all=true, trans=0x7f77a0004058, is_real_trans=true) at /10.5/sql/handler.cc:1800
|
#11 0x0000563e84bb3ab1 in ha_commit_one_phase (thd=0x7f77a0000a98, all=true) at /10.5/sql/handler.cc:1780
|
#12 0x0000563e84bb2d4d in ha_commit_trans (thd=0x7f77a0000a98, all=true) at /10.5/sql/handler.cc:1586
|
#13 0x0000563e84ae99ce in trans_xa_commit (thd=0x7f77a0000a98) at /10.5/sql/xa.cc:510
|
#14 0x0000563e8485e775 in mysql_execute_command (thd=0x7f77a0000a98) at /10.5/sql/sql_parse.cc:5821
|
#15 0x0000563e8486546a in mysql_parse (thd=0x7f77a0000a98, rawbuf=0x7f77a00b77a0 "XA COMMIT 'x1' ONE PHASE", length=24, parser_state=0x7f77d5eb73e0, is_com_multi=false, is_next_command=false) at /10.5/sql/sql_parse.cc:7991
|
#16 0x0000563e8485039e in dispatch_command (command=COM_QUERY, thd=0x7f77a0000a98, packet=0x7f77a00d3639 "XA COMMIT 'x1' ONE PHASE", packet_length=24, is_com_multi=false, is_next_command=false) at /10.5/sql/sql_parse.cc:1846
|
#17 0x0000563e8484eacc in do_command (thd=0x7f77a0000a98) at /10.5/sql/sql_parse.cc:1364
|
#18 0x0000563e849f6844 in do_handle_one_connection (connect=0x563e87b51eb8, put_in_cache=true) at /10.5/sql/sql_connect.cc:1422
|
#19 0x0000563e849f6548 in handle_one_connection (arg=0x563e87b3b858) at /10.5/sql/sql_connect.cc:1319
|
#20 0x0000563e84f80ecd in pfs_spawn_thread (arg=0x563e87ace848) at /10.5/storage/perfschema/pfs.cc:1862
|
#21 0x00007f77e27c66ba in start_thread (arg=0x7f77d5eb8700) at pthread_create.c:333
|
#22 0x00007f77e1a5741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
|
- relates to
-
MDEV-742
LP:803649 - Xa recovery failed on client disconnection
-
-
Closed
{"report":{"fcp":1123.6999998092651,"ttfb":384.8999996185303,"pageVisibility":"visible","entityId":82913,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"07c92a2f-8853-4649-87d9-1d4113227696","navigationType":0,"readyForUser":1212.2999997138977,"redirectCount":0,"resourceLoadedEnd":1580.1999998092651,"resourceLoadedStart":390.69999980926514,"resourceTiming":[{"duration":198,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":390.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":390.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":588.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":198,"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":391.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":391.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":253,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":391.19999980926514,"connectEnd":391.19999980926514,"connectStart":391.19999980926514,"domainLookupEnd":391.19999980926514,"domainLookupStart":391.19999980926514,"fetchStart":391.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":391.19999980926514,"responseEnd":644.1999998092651,"responseStart":644.1999998092651,"secureConnectionStart":391.19999980926514},{"duration":333.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":391.2999997138977,"connectEnd":391.2999997138977,"connectStart":391.2999997138977,"domainLookupEnd":391.2999997138977,"domainLookupStart":391.2999997138977,"fetchStart":391.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":391.2999997138977,"responseEnd":724.7999997138977,"responseStart":724.7999997138977,"secureConnectionStart":391.2999997138977},{"duration":337.19999980926514,"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":391.59999990463257,"connectEnd":391.59999990463257,"connectStart":391.59999990463257,"domainLookupEnd":391.59999990463257,"domainLookupStart":391.59999990463257,"fetchStart":391.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":391.59999990463257,"responseEnd":728.7999997138977,"responseStart":728.7999997138977,"secureConnectionStart":391.59999990463257},{"duration":338.90000009536743,"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":391.7999997138977,"connectEnd":391.7999997138977,"connectStart":391.7999997138977,"domainLookupEnd":391.7999997138977,"domainLookupStart":391.7999997138977,"fetchStart":391.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":391.7999997138977,"responseEnd":730.6999998092651,"responseStart":730.6999998092651,"secureConnectionStart":391.7999997138977},{"duration":339.30000019073486,"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":391.8999996185303,"connectEnd":391.8999996185303,"connectStart":391.8999996185303,"domainLookupEnd":391.8999996185303,"domainLookupStart":391.8999996185303,"fetchStart":391.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":391.8999996185303,"responseEnd":731.1999998092651,"responseStart":731.1999998092651,"secureConnectionStart":391.8999996185303},{"duration":406.7999997138977,"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":392.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":392.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":798.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":339.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":392.2999997138977,"connectEnd":392.2999997138977,"connectStart":392.2999997138977,"domainLookupEnd":392.2999997138977,"domainLookupStart":392.2999997138977,"fetchStart":392.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":392.2999997138977,"responseEnd":731.7999997138977,"responseStart":731.7999997138977,"secureConnectionStart":392.2999997138977},{"duration":406.6000003814697,"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":392.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":392.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":799,"responseStart":0,"secureConnectionStart":0},{"duration":339.7999997138977,"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":392.59999990463257,"connectEnd":392.59999990463257,"connectStart":392.59999990463257,"domainLookupEnd":392.59999990463257,"domainLookupStart":392.59999990463257,"fetchStart":392.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":392.59999990463257,"responseEnd":732.3999996185303,"responseStart":732.3999996185303,"secureConnectionStart":392.59999990463257},{"duration":806.3999996185303,"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":393.5,"connectEnd":393.5,"connectStart":393.5,"domainLookupEnd":393.5,"domainLookupStart":393.5,"fetchStart":393.5,"redirectEnd":0,"redirectStart":0,"requestStart":393.5,"responseEnd":1199.8999996185303,"responseStart":1199.8999996185303,"secureConnectionStart":393.5},{"duration":1133.4000000953674,"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":393.59999990463257,"connectEnd":393.59999990463257,"connectStart":393.59999990463257,"domainLookupEnd":393.59999990463257,"domainLookupStart":393.59999990463257,"fetchStart":393.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":393.59999990463257,"responseEnd":1527,"responseStart":1527,"secureConnectionStart":393.59999990463257},{"duration":387.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":813,"connectEnd":813,"connectStart":813,"domainLookupEnd":813,"domainLookupStart":813,"fetchStart":813,"redirectEnd":0,"redirectStart":0,"requestStart":813,"responseEnd":1200.2999997138977,"responseStart":1200.2999997138977,"secureConnectionStart":813},{"duration":459.90000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1116.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1116.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1576.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":305,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1271,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1271,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1576,"responseStart":0,"secureConnectionStart":0},{"duration":300.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1272.3999996185303,"connectEnd":1272.3999996185303,"connectStart":1272.3999996185303,"domainLookupEnd":1272.3999996185303,"domainLookupStart":1272.3999996185303,"fetchStart":1272.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1272.3999996185303,"responseEnd":1572.5999999046326,"responseStart":1572.5999999046326,"secureConnectionStart":1272.3999996185303},{"duration":307.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1272.8999996185303,"connectEnd":1272.8999996185303,"connectStart":1272.8999996185303,"domainLookupEnd":1272.8999996185303,"domainLookupStart":1272.8999996185303,"fetchStart":1272.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1272.8999996185303,"responseEnd":1580.1999998092651,"responseStart":1580.1999998092651,"secureConnectionStart":1272.8999996185303}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":235,"responseStart":385,"responseEnd":387,"domLoading":388,"domInteractive":1602,"domContentLoadedEventStart":1602,"domContentLoadedEventEnd":1650,"domComplete":1922,"loadEventStart":1922,"loadEventEnd":1923,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1577.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1578.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1578.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1579.0999999046326},{"name":"activityTabFullyLoaded","time":1666.7999997138977}],"measures":[],"correlationId":"143fe051ca3a59","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Fixed by 199ab457f4d pushed to bb-10.5-mdev_742.