Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.5
--source include/have_innodb.inc
--source include/have_sequence.inc
CREATE TABLE t1 (pk INT PRIMARY KEY ) ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
INSERT INTO t1 SELECT seq FROM seq_1_to_750;
--error ER_DUP_ENTRY
UPDATE t1 SET pk = 1 WHERE pk = 750;
--let $shutdown_timeout= 0
--source include/restart_mysqld.inc
CHECK TABLE t1;
# Cleanup
DROP TABLE t1;
10.5 57c592f7
mysqld: /data/src/10.5/storage/innobase/row/row0sel.cc:5163: dberr_t row_search_mvcc(byte*, page_cur_mode_t, row_prebuilt_t*, ulint, ulint): Assertion `index != clust_index || row_get_rec_trx_id(rec, index, offsets)' failed.
200308 23:46:06 [ERROR] mysqld got signal 6 ;
#7 0x00007ff0cf686f12 in __GI___assert_fail (assertion=0x55ef256e4020 "index != clust_index || row_get_rec_trx_id(rec, index, offsets)", file=0x55ef256e28d0 "/data/src/10.5/storage/innobase/row/row0sel.cc", line=5163, function=0x55ef256e6e20 <row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long)::__PRETTY_FUNCTION__> "dberr_t row_search_mvcc(byte*, page_cur_mode_t, row_prebuilt_t*, ulint, ulint)") at assert.c:101
#8 0x000055ef24fc74df in row_search_mvcc (buf=0x7ff08c0318b0 "", mode=PAGE_CUR_G, prebuilt=0x7ff08c030200, match_mode=0, direction=1) at /data/src/10.5/storage/innobase/row/row0sel.cc:5163
#9 0x000055ef24f78444 in row_search_for_mysql (buf=0x7ff08c0318b0 "", mode=PAGE_CUR_G, prebuilt=0x7ff08c030200, match_mode=0, direction=1) at /data/src/10.5/storage/innobase/include/row0sel.ic:137
#10 0x000055ef24f84a6c in row_scan_index_for_mysql (prebuilt=0x7ff08c030200, index=0x7ff0a400b720, n_rows=0x7ff0c8a1a488) at /data/src/10.5/storage/innobase/row/row0mysql.cc:4830
#11 0x000055ef24ddd32d in ha_innobase::check (this=0x7ff08c02baa8, thd=0x7ff08c000b00, check_opt=0x7ff08c005cc8) at /data/src/10.5/storage/innobase/handler/ha_innodb.cc:15142
#12 0x000055ef249bd016 in handler::ha_check (this=0x7ff08c02baa8, thd=0x7ff08c000b00, check_opt=0x7ff08c005cc8) at /data/src/10.5/sql/handler.cc:4300
#13 0x000055ef248190bb in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *)) (thd=0x7ff08c000b00, tables=0x7ff08c015bc0, check_opt=0x7ff08c005cc8, operator_name=0x55ef253fd841 "check", lock_type=TL_READ_NO_INSERT, org_open_for_modify=false, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x55ef249bce58 <handler::ha_check(THD*, st_ha_check_opt*)>, view_operator_func=0x55ef24797e08 <view_check(THD*, TABLE_LIST*, st_ha_check_opt*)>) at /data/src/10.5/sql/sql_admin.cc:806
#14 0x000055ef2481b31e in Sql_cmd_check_table::execute (this=0x7ff08c016288, thd=0x7ff08c000b00) at /data/src/10.5/sql/sql_admin.cc:1352
#15 0x000055ef246722c7 in mysql_execute_command (thd=0x7ff08c000b00) at /data/src/10.5/sql/sql_parse.cc:5879
#16 0x000055ef2467866c in mysql_parse (thd=0x7ff08c000b00, rawbuf=0x7ff08c015b08 "CHECK TABLE t1", length=14, parser_state=0x7ff0c8a1b530, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:7919
#17 0x000055ef24664311 in dispatch_command (command=COM_QUERY, thd=0x7ff08c000b00, packet=0x7ff08c0086c1 "", packet_length=14, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:1845
#18 0x000055ef24662a58 in do_command (thd=0x7ff08c000b00) at /data/src/10.5/sql/sql_parse.cc:1364
#19 0x000055ef248031ab in do_handle_one_connection (connect=0x55ef28dea390, put_in_cache=true) at /data/src/10.5/sql/sql_connect.cc:1422
#20 0x000055ef24802eda in handle_one_connection (arg=0x55ef28dea390) at /data/src/10.5/sql/sql_connect.cc:1319
#21 0x000055ef24d605a3 in pfs_spawn_thread (arg=0x55ef28ce2d00) at /data/src/10.5/storage/perfschema/pfs.cc:1869
#22 0x00007ff0d160f4a4 in start_thread (arg=0x7ff0c8a1c700) at pthread_create.c:456
#23 0x00007ff0cf743d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
is caused by
MDEV-12353
Efficient InnoDB redo log record format
Closed
{"report":{"fcp":1625.9000000953674,"ttfb":350,"pageVisibility":"visible","entityId":83912,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"00dbb40d-7d82-473b-b5dc-c7dbe2cfdcc6","navigationType":0,"readyForUser":1724.8000001907349,"redirectCount":0,"resourceLoadedEnd":1266,"resourceLoadedStart":373.30000019073486,"resourceTiming":[{"duration":109.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":373.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":373.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":482.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":109.40000009536743,"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":373.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":373.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":483,"responseStart":0,"secureConnectionStart":0},{"duration":571.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":373.80000019073486,"connectEnd":373.80000019073486,"connectStart":373.80000019073486,"domainLookupEnd":373.80000019073486,"domainLookupStart":373.80000019073486,"fetchStart":373.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":513.6999998092651,"responseEnd":945,"responseStart":577.6999998092651,"secureConnectionStart":373.80000019073486},{"duration":892,"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":374,"connectEnd":374,"connectStart":374,"domainLookupEnd":374,"domainLookupStart":374,"fetchStart":374,"redirectEnd":0,"redirectStart":0,"requestStart":513.9000000953674,"responseEnd":1266,"responseStart":581.0999999046326,"secureConnectionStart":374},{"duration":235.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":374.09999990463257,"connectEnd":374.09999990463257,"connectStart":374.09999990463257,"domainLookupEnd":374.09999990463257,"domainLookupStart":374.09999990463257,"fetchStart":374.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":514,"responseEnd":609.5,"responseStart":595.4000000953674,"secureConnectionStart":374.09999990463257},{"duration":239.09999990463257,"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":374.30000019073486,"connectEnd":374.30000019073486,"connectStart":374.30000019073486,"domainLookupEnd":374.30000019073486,"domainLookupStart":374.30000019073486,"fetchStart":374.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":515,"responseEnd":613.4000000953674,"responseStart":600,"secureConnectionStart":374.30000019073486},{"duration":241.09999990463257,"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":374.5,"connectEnd":374.5,"connectStart":374.5,"domainLookupEnd":374.5,"domainLookupStart":374.5,"fetchStart":374.5,"redirectEnd":0,"redirectStart":0,"requestStart":515.1999998092651,"responseEnd":615.5999999046326,"responseStart":609.8000001907349,"secureConnectionStart":374.5},{"duration":109.7000002861023,"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":374.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":374.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":484.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":241,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":374.90000009536743,"connectEnd":374.90000009536743,"connectStart":374.90000009536743,"domainLookupEnd":374.90000009536743,"domainLookupStart":374.90000009536743,"fetchStart":374.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":516.0999999046326,"responseEnd":615.9000000953674,"responseStart":610.5,"secureConnectionStart":374.90000009536743},{"duration":109.69999980926514,"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":375,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":484.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":269,"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":375.19999980926514,"connectEnd":375.19999980926514,"connectStart":375.19999980926514,"domainLookupEnd":375.19999980926514,"domainLookupStart":375.19999980926514,"fetchStart":375.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":516.5,"responseEnd":644.1999998092651,"responseStart":611.0999999046326,"secureConnectionStart":375.19999980926514},{"duration":782.7999997138977,"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":380.90000009536743,"connectEnd":380.90000009536743,"connectStart":380.90000009536743,"domainLookupEnd":380.90000009536743,"domainLookupStart":380.90000009536743,"fetchStart":380.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":543.9000000953674,"responseEnd":1163.6999998092651,"responseStart":1072.4000000953674,"secureConnectionStart":380.90000009536743},{"duration":787.1999998092651,"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":381,"connectEnd":381,"connectStart":381,"domainLookupEnd":381,"domainLookupStart":381,"fetchStart":381,"redirectEnd":0,"redirectStart":0,"requestStart":567,"responseEnd":1168.1999998092651,"responseStart":1129,"secureConnectionStart":381},{"duration":330.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1138.1999998092651,"connectEnd":1138.1999998092651,"connectStart":1138.1999998092651,"domainLookupEnd":1138.1999998092651,"domainLookupStart":1138.1999998092651,"fetchStart":1138.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1434.5999999046326,"responseEnd":1468.6999998092651,"responseStart":1467.9000000953674,"secureConnectionStart":1138.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":136,"responseStart":350,"responseEnd":353,"domLoading":371,"domInteractive":1782,"domContentLoadedEventStart":1782,"domContentLoadedEventEnd":1828,"domComplete":3259,"loadEventStart":3259,"loadEventEnd":3260,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1767.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1768},{"name":"bigPipe.activity-panel-pipe-id.start","time":1768.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1770.8000001907349},{"name":"activityTabFullyLoaded","time":1836.9000000953674}],"measures":[],"correlationId":"2e42dc2252ead1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":134,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}