10.3 578b2b05b8f734
|
mysqld: /data/src/10.3/storage/innobase/row/row0log.cc:1961: dberr_t row_log_table_apply_delete(que_thr_t*, ulint, const mrec_t*, const ulint*, mem_heap_t*, mem_heap_t*, const row_log_t*, const row_ext_t*, ulint): Assertion `!log->same_pk' failed.
|
170826 3:29:10 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f9af1281ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055a1b98d56b6 in row_log_table_apply_delete (thr=0x7f9a9402d290, trx_id_col=1, mrec=0x7f9adc1aa021 "", moffsets=0x7f9a94030300, offsets_heap=0x7f9a94055ae0, heap=0x7f9a94031590, log=0x7f9a940359c0, save_ext=0x0, ext_size=0) at /data/src/10.3/storage/innobase/row/row0log.cc:1961
|
#9 0x000055a1b98d6efc in row_log_table_apply_op (thr=0x7f9a9402d290, new_trx_id_col=1, dup=0x7f9adc5ef210, error=0x7f9adc5eefc4, offsets_heap=0x7f9a94055ae0, heap=0x7f9a94031590, mrec=0x7f9adc1aa021 "", mrec_end=0x7f9adc1aa034 "", offsets=0x7f9a94030300) at /data/src/10.3/storage/innobase/row/row0log.cc:2489
|
#10 0x000055a1b98d8aa9 in row_log_table_apply_ops (thr=0x7f9a9402d290, dup=0x7f9adc5ef210, stage=0x7f9a94030240) at /data/src/10.3/storage/innobase/row/row0log.cc:3015
|
#11 0x000055a1b98d8fd7 in row_log_table_apply (thr=0x7f9a9402d290, old_table=0x7f9a9002d1f8, table=0x7f9a94028d50, stage=0x7f9a94030240) at /data/src/10.3/storage/innobase/row/row0log.cc:3114
|
#12 0x000055a1b97b62d2 in ha_innobase::inplace_alter_table (this=0x7f9a9401b2a8, altered_table=0x7f9a94028d50, ha_alter_info=0x7f9adc5ef540) at /data/src/10.3/storage/innobase/handler/handler0alter.cc:6491
|
#13 0x000055a1b928c7e3 in handler::ha_inplace_alter_table (this=0x7f9a9401b2a8, altered_table=0x7f9a94028d50, ha_alter_info=0x7f9adc5ef540) at /data/src/10.3/sql/handler.h:3830
|
#14 0x000055a1b9283e35 in mysql_inplace_alter_table (thd=0x7f9a94000b00, table_list=0x7f9a94013648, table=0x7f9a9401a680, altered_table=0x7f9a94028d50, ha_alter_info=0x7f9adc5ef540, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7f9adc5ef5b0, alter_ctx=0x7f9adc5f0170) at /data/src/10.3/sql/sql_table.cc:7179
|
#15 0x000055a1b9288d48 in mysql_alter_table (thd=0x7f9a94000b00, new_db=0x7f9a94013c58 "test", new_name=0x0, create_info=0x7f9adc5f0d80, table_list=0x7f9a94013648, alter_info=0x7f9adc5f0cd0, order_num=0, order=0x0, ignore=false) at /data/src/10.3/sql/sql_table.cc:9119
|
#16 0x000055a1b9304bd6 in Sql_cmd_alter_table::execute (this=0x7f9a94013c88, thd=0x7f9a94000b00) at /data/src/10.3/sql/sql_alter.cc:331
|
#17 0x000055a1b91bdbd5 in mysql_execute_command (thd=0x7f9a94000b00) at /data/src/10.3/sql/sql_parse.cc:6240
|
#18 0x000055a1b91c2360 in mysql_parse (thd=0x7f9a94000b00, rawbuf=0x7f9a94013558 "ALTER TABLE t1 DROP COLUMN extra", length=32, parser_state=0x7f9adc5f2610, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7921
|
#19 0x000055a1b91b05a7 in dispatch_command (command=COM_QUERY, thd=0x7f9a94000b00, packet=0x7f9a9400ae21 "ALTER TABLE t1 DROP COLUMN extra", packet_length=32, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1821
|
#20 0x000055a1b91af049 in do_command (thd=0x7f9a94000b00) at /data/src/10.3/sql/sql_parse.cc:1372
|
#21 0x000055a1b92ff863 in do_handle_one_connection (connect=0x55a1bc22c550) at /data/src/10.3/sql/sql_connect.cc:1418
|
#22 0x000055a1b92ff5f0 in handle_one_connection (arg=0x55a1bc22c550) at /data/src/10.3/sql/sql_connect.cc:1324
|
#23 0x000055a1b975e099 in pfs_spawn_thread (arg=0x55a1bc2355f0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#24 0x00007f9af31c6494 in start_thread (arg=0x7f9adc5f3700) at pthread_create.c:333
|
#25 0x00007f9af133e93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
NOTE: This test case is for reproducing only, don't put it into the regression suite!
--source include/have_innodb.inc
|
|
--let $run= 100
|
|
CREATE TABLE t1 (col1 INT, col2 TEXT) ENGINE = InnoDB;
|
|
--connect (con1,localhost,root,,test)
|
--connect (con2,localhost,root,,test)
|
|
while ($run)
|
{
|
--connection con1
|
ALTER TABLE t1 ADD COLUMN extra INT;
|
INSERT INTO t1 (col1,col2) VALUES (1,'foo'), (2,'bar');
|
--send
|
UPDATE t1 SET extra = col1;
|
|
--connection con2
|
--send
|
ALTER TABLE t1 DROP COLUMN extra;
|
|
--connection con1
|
--reap
|
DELETE FROM t1;
|
|
--connection con2
|
--reap
|
|
--dec $run
|
}
|
|
# Cleanup
|
--disconnect con1
|
--disconnect con2
|
|
--connection default
|
DROP TABLE t1;
|
{"report":{"fcp":1068,"ttfb":194.5,"pageVisibility":"visible","entityId":62865,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"58e8d20a-6e81-425f-9325-58abd322066a","navigationType":0,"readyForUser":1156.6000000089407,"redirectCount":0,"resourceLoadedEnd":1097.300000011921,"resourceLoadedStart":205.5,"resourceTiming":[{"duration":454.70000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":205.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":660.2000000029802,"responseStart":0,"secureConnectionStart":0},{"duration":454.79999999701977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":205.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":660.5,"responseStart":0,"secureConnectionStart":0},{"duration":463.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":205.90000000596046,"connectEnd":205.90000000596046,"connectStart":205.90000000596046,"domainLookupEnd":205.90000000596046,"domainLookupStart":205.90000000596046,"fetchStart":205.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":205.90000000596046,"responseEnd":669.3000000119209,"responseStart":669.3000000119209,"secureConnectionStart":205.90000000596046},{"duration":487.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":206,"connectEnd":206,"connectStart":206,"domainLookupEnd":206,"domainLookupStart":206,"fetchStart":206,"redirectEnd":0,"redirectStart":0,"requestStart":206,"responseEnd":693.8000000119209,"responseStart":693.8000000119209,"secureConnectionStart":206},{"duration":491.1000000089407,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":206.20000000298023,"connectEnd":206.20000000298023,"connectStart":206.20000000298023,"domainLookupEnd":206.20000000298023,"domainLookupStart":206.20000000298023,"fetchStart":206.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":206.20000000298023,"responseEnd":697.3000000119209,"responseStart":697.3000000119209,"secureConnectionStart":206.20000000298023},{"duration":491.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":206.40000000596046,"connectEnd":206.40000000596046,"connectStart":206.40000000596046,"domainLookupEnd":206.40000000596046,"domainLookupStart":206.40000000596046,"fetchStart":206.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":206.40000000596046,"responseEnd":697.8000000119209,"responseStart":697.8000000119209,"secureConnectionStart":206.40000000596046},{"duration":491.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":206.6000000089407,"connectEnd":206.6000000089407,"connectStart":206.6000000089407,"domainLookupEnd":206.6000000089407,"domainLookupStart":206.6000000089407,"fetchStart":206.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":206.6000000089407,"responseEnd":698.1000000089407,"responseStart":698.1000000089407,"secureConnectionStart":206.6000000089407},{"duration":492.69999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":206.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":206.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.5,"responseStart":0,"secureConnectionStart":0},{"duration":491.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":206.90000000596046,"connectEnd":206.90000000596046,"connectStart":206.90000000596046,"domainLookupEnd":206.90000000596046,"domainLookupStart":206.90000000596046,"fetchStart":206.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":206.90000000596046,"responseEnd":698.5,"responseStart":698.5,"secureConnectionStart":206.90000000596046},{"duration":492.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":207.1000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":491.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":207.20000000298023,"connectEnd":207.20000000298023,"connectStart":207.20000000298023,"domainLookupEnd":207.20000000298023,"domainLookupStart":207.20000000298023,"fetchStart":207.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":207.20000000298023,"responseEnd":699.1000000089407,"responseStart":699.1000000089407,"secureConnectionStart":207.20000000298023},{"duration":519.2000000029802,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":212.6000000089407,"connectEnd":212.6000000089407,"connectStart":212.6000000089407,"domainLookupEnd":212.6000000089407,"domainLookupStart":212.6000000089407,"fetchStart":212.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":212.6000000089407,"responseEnd":731.8000000119209,"responseStart":731.8000000119209,"secureConnectionStart":212.6000000089407},{"duration":884.7000000029802,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":212.6000000089407,"connectEnd":212.6000000089407,"connectStart":212.6000000089407,"domainLookupEnd":212.6000000089407,"domainLookupStart":212.6000000089407,"fetchStart":212.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":212.6000000089407,"responseEnd":1097.300000011921,"responseStart":1097.300000011921,"secureConnectionStart":212.6000000089407}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":21,"responseStart":195,"responseEnd":208,"domLoading":204,"domInteractive":1220,"domContentLoadedEventStart":1220,"domContentLoadedEventEnd":1256,"domComplete":2195,"loadEventStart":2195,"loadEventEnd":2196,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1208.9000000059605},{"name":"bigPipe.sidebar-id.end","time":1209.6000000089407},{"name":"bigPipe.activity-panel-pipe-id.start","time":1209.800000011921},{"name":"bigPipe.activity-panel-pipe-id.end","time":1211.9000000059605},{"name":"activityTabFullyLoaded","time":1265.7000000029802}],"measures":[],"correlationId":"507747c964a753","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":16,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}