-
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":993.5999999046326,"ttfb":191.90000009536743,"pageVisibility":"visible","entityId":82913,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"7733c6fc-680d-4026-95e0-5b81211290bd","navigationType":0,"readyForUser":1078.1999998092651,"redirectCount":0,"resourceLoadedEnd":1162.1999998092651,"resourceLoadedStart":200.09999990463257,"resourceTiming":[{"duration":306.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":200.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":506.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":306.69999980926514,"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":200.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":507.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":323.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":200.69999980926514,"connectEnd":200.69999980926514,"connectStart":200.69999980926514,"domainLookupEnd":200.69999980926514,"domainLookupStart":200.69999980926514,"fetchStart":200.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":200.69999980926514,"responseEnd":524.5,"responseStart":524.5,"secureConnectionStart":200.69999980926514},{"duration":390.90000009536743,"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":201.19999980926514,"connectEnd":201.19999980926514,"connectStart":201.19999980926514,"domainLookupEnd":201.19999980926514,"domainLookupStart":201.19999980926514,"fetchStart":201.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":201.19999980926514,"responseEnd":592.0999999046326,"responseStart":592.0999999046326,"secureConnectionStart":201.19999980926514},{"duration":394.40000009536743,"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":201.40000009536743,"connectEnd":201.40000009536743,"connectStart":201.40000009536743,"domainLookupEnd":201.40000009536743,"domainLookupStart":201.40000009536743,"fetchStart":201.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":201.40000009536743,"responseEnd":595.8000001907349,"responseStart":595.8000001907349,"secureConnectionStart":201.40000009536743},{"duration":394.40000009536743,"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":201.69999980926514,"connectEnd":201.69999980926514,"connectStart":201.69999980926514,"domainLookupEnd":201.69999980926514,"domainLookupStart":201.69999980926514,"fetchStart":201.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":201.69999980926514,"responseEnd":596.0999999046326,"responseStart":596.0999999046326,"secureConnectionStart":201.69999980926514},{"duration":394.69999980926514,"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":201.80000019073486,"connectEnd":201.80000019073486,"connectStart":201.80000019073486,"domainLookupEnd":201.80000019073486,"domainLookupStart":201.80000019073486,"fetchStart":201.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":201.80000019073486,"responseEnd":596.5,"responseStart":596.5,"secureConnectionStart":201.80000019073486},{"duration":463.09999990463257,"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":202,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":665.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":394.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":202.09999990463257,"connectEnd":202.09999990463257,"connectStart":202.09999990463257,"domainLookupEnd":202.09999990463257,"domainLookupStart":202.09999990463257,"fetchStart":202.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":202.09999990463257,"responseEnd":596.9000000953674,"responseStart":596.9000000953674,"secureConnectionStart":202.09999990463257},{"duration":462.8999996185303,"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":202.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":665.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":395,"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":202.40000009536743,"connectEnd":202.40000009536743,"connectStart":202.40000009536743,"domainLookupEnd":202.40000009536743,"domainLookupStart":202.40000009536743,"fetchStart":202.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":202.40000009536743,"responseEnd":597.4000000953674,"responseStart":597.4000000953674,"secureConnectionStart":202.40000009536743},{"duration":553.5999999046326,"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":210.80000019073486,"connectEnd":210.80000019073486,"connectStart":210.80000019073486,"domainLookupEnd":210.80000019073486,"domainLookupStart":210.80000019073486,"fetchStart":210.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":210.80000019073486,"responseEnd":764.4000000953674,"responseStart":764.4000000953674,"secureConnectionStart":210.80000019073486},{"duration":938,"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":212.30000019073486,"connectEnd":212.30000019073486,"connectStart":212.30000019073486,"domainLookupEnd":212.30000019073486,"domainLookupStart":212.30000019073486,"fetchStart":212.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":212.30000019073486,"responseEnd":1150.3000001907349,"responseStart":1150.3000001907349,"secureConnectionStart":212.30000019073486},{"duration":234.60000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":695.1999998092651,"connectEnd":695.1999998092651,"connectStart":695.1999998092651,"domainLookupEnd":695.1999998092651,"domainLookupStart":695.1999998092651,"fetchStart":695.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":695.1999998092651,"responseEnd":929.8000001907349,"responseStart":929.6999998092651,"secureConnectionStart":695.1999998092651},{"duration":216.19999980926514,"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":946,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":946,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1162.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":238.30000019073486,"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":947.0999999046326,"connectEnd":947.0999999046326,"connectStart":947.0999999046326,"domainLookupEnd":947.0999999046326,"domainLookupStart":947.0999999046326,"fetchStart":947.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":947.0999999046326,"responseEnd":1185.4000000953674,"responseStart":1185.4000000953674,"secureConnectionStart":947.0999999046326},{"duration":244.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":947.5,"connectEnd":947.5,"connectStart":947.5,"domainLookupEnd":947.5,"domainLookupStart":947.5,"fetchStart":947.5,"redirectEnd":0,"redirectStart":0,"requestStart":947.5,"responseEnd":1191.8000001907349,"responseStart":1191.6999998092651,"secureConnectionStart":947.5}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":36,"responseStart":192,"responseEnd":212,"domLoading":195,"domInteractive":1169,"domContentLoadedEventStart":1169,"domContentLoadedEventEnd":1209,"domComplete":1547,"loadEventStart":1547,"loadEventEnd":1547,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1152.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1153.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1153.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1154},{"name":"activityTabFullyLoaded","time":1258.5999999046326}],"measures":[],"correlationId":"a5ff23d8a6908","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Fixed by 199ab457f4d pushed to bb-10.5-mdev_742.