origin/HEAD, origin/10.8, 10.8 0c5d1342ae6b5ab3256848be7a83e5c3b1f21566 2022-01-27T21:25:07+02:00
|
The tree contains the patch for MDEV-19555.
|
|
mysqld: /data/Server/10.8C/storage/innobase/fts/fts0opt.cc:2615: void fts_optimize_remove_table(dict_table_t*): Assertion `!table->fts->in_queue' failed.
|
...
|
# 2022-01-28T18:22:57 [2406543] | Query (0x629000d89238): ALTER TABLE t3 ADD UNIQUE INDEX IF NOT EXISTS `uidx1` ( col_string ASC ), ADD UNIQUE INDEX IF NOT EXISTS `uIdx1` ( col_string ASC )
|
# 2022-01-28T18:22:57 [2406543] |Status: NOT_KILLED
|
|
(rr) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x000036845bff6859 in __GI_abort () at abort.c:79
|
#2 0x000036845bff6729 in __assert_fail_base (fmt=0x36845c18c588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55f08b4c7de0 "!table->fts->in_queue", file=0x55f08b4c5e40 "/data/Server/10.8C/storage/innobase/fts/fts0opt.cc", line=2615,
|
function=<optimized out>) at assert.c:92
|
#3 0x000036845c007f36 in __GI___assert_fail (assertion=0x55f08b4c7de0 "!table->fts->in_queue", file=0x55f08b4c5e40 "/data/Server/10.8C/storage/innobase/fts/fts0opt.cc", line=2615, function=0x55f08b4c7e20 "void fts_optimize_remove_table(dict_table_t*)")
|
at assert.c:101
|
#4 0x000055f08a448bfb in fts_optimize_remove_table (table=0x618000301508) at /data/Server/10.8C/storage/innobase/fts/fts0opt.cc:2615
|
#5 0x000055f089dc2b6e in rollback_inplace_alter_table (ha_alter_info=0x6b7e501e9c40, table=0x619000418298, prebuilt=0x621000277588) at /data/Server/10.8C/storage/innobase/handler/handler0alter.cc:8735
|
#6 0x000055f089d9d424 in ha_innobase::commit_inplace_alter_table (this=0x61d00005dcb8, altered_table=0x6b7e501ea340, ha_alter_info=0x6b7e501e9c40, commit=false) at /data/Server/10.8C/storage/innobase/handler/handler0alter.cc:10843
|
#7 0x000055f089457f8c in handler::ha_commit_inplace_alter_table (this=0x61d00005dcb8, altered_table=0x6b7e501ea340, ha_alter_info=0x6b7e501e9c40, commit=false) at /data/Server/10.8C/sql/handler.cc:5195
|
#8 0x000055f088ebfda9 in mysql_inplace_alter_table (thd=0x62b0001ce218, table_list=0x629000d89458, table=0x619000418298, altered_table=0x6b7e501ea340, ha_alter_info=0x6b7e501e9c40, target_mdl_request=0x6b7e501e9d40, ddl_log_state=0x6b7e501e9a60,
|
trigger_param=0x6b7e501ea760, alter_ctx=0x6b7e501eb1a0, partial_alter=@0x6b7e501e97d0: false, start_alter_id=@0x6b7e501e9800: 0, if_exists=false) at /data/Server/10.8C/sql/sql_table.cc:7829
|
#9 0x000055f088ed41f8 in mysql_alter_table (thd=0x62b0001ce218, new_db=0x62b0001d2cc0, new_name=0x62b0001d30d8, create_info=0x6b7e501ec650, table_list=0x629000d89458, alter_info=0x6b7e501ec520, order_num=0, order=0x0, ignore=false, if_exists=false)
|
at /data/Server/10.8C/sql/sql_table.cc:10675
|
#10 0x000055f089061462 in Sql_cmd_alter_table::execute (this=0x629000d89db0, thd=0x62b0001ce218) at /data/Server/10.8C/sql/sql_alter.cc:547
|
#11 0x000055f088c2c5c7 in mysql_execute_command (thd=0x62b0001ce218, is_called_from_prepared_stmt=false) at /data/Server/10.8C/sql/sql_parse.cc:5988
|
#12 0x000055f088c38a05 in mysql_parse (thd=0x62b0001ce218, rawbuf=0x629000d89238 "ALTER TABLE t3 ADD UNIQUE INDEX IF NOT EXISTS `uidx1` ( col_string ASC ), ADD UNIQUE INDEX IF NOT EXISTS `uIdx1` ( col_string ASC ) /* E_R Thread1 QNO 807 CON_ID 17 */", length=167,
|
parser_state=0x6b7e501edb20) at /data/Server/10.8C/sql/sql_parse.cc:8027
|
#13 0x000055f088c10dea in dispatch_command (command=COM_QUERY, thd=0x62b0001ce218,
|
packet=0x629000d7f219 "ALTER TABLE t3 ADD UNIQUE INDEX IF NOT EXISTS `uidx1` ( col_string ASC ), ADD UNIQUE INDEX IF NOT EXISTS `uIdx1` ( col_string ASC ) /* E_R Thread1 QNO 807 CON_ID 17 */ ", packet_length=168, blocking=true)
|
at /data/Server/10.8C/sql/sql_parse.cc:1894
|
#14 0x000055f088c0e1c2 in do_command (thd=0x62b0001ce218, blocking=true) at /data/Server/10.8C/sql/sql_parse.cc:1402
|
#15 0x000055f0890471de in do_handle_one_connection (connect=0x608000003138, put_in_cache=true) at /data/Server/10.8C/sql/sql_connect.cc:1418
|
#16 0x000055f089046a6a in handle_one_connection (arg=0x608000003138) at /data/Server/10.8C/sql/sql_connect.cc:1312
|
#17 0x00004162530ef609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#18 0x000036845c0f3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
(rr)
|
|
Per my bookkeeping of RQG runs we have this problem in 10.7 and 10.6 too.
|
|
pluto:/data/results/1643393487/TBR-1110/dev/shm/rqg/1643393487/26/1/rr
|
|
RQG
|
====
|
# git clone https://github.com/mleich1/rqg --branch experimental RQG
|
#
|
# GIT_SHOW: HEAD -> experimental, origin/experimental 91dc9c0f18cbab8725687895c86e1b2bc71ed185 2022-01-25T20:16:46+01:00
|
# rqg.pl : Version 4.0.4 (2021-12)
|
#
|
# $RQG_HOME/rqg.pl \
|
# --duration=300 \
|
# --queries=10000000 \
|
# --no_mask \
|
# --seed=random \
|
# --grammar=TBR-1110_better.yy \
|
# --gendata_sql=conf/mariadb/table_stress.sql \
|
# --gendata=conf/mariadb/table_stress.zz \
|
# --rpl_mode=none \
|
# --max_gd_duration=1800 \
|
# --engine=InnoDB \
|
# --mysqld=--innodb_use_native_aio=0 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
|
# --mysqld=--loose-idle_write_transaction_timeout=0 \
|
# --mysqld=--innodb_adaptive_hash_index=on \
|
# --mysqld=--net_write_timeout=60 \
|
# --mysqld=--innodb-buffer-pool-size=5M \
|
# --mysqld=--innodb_stats_persistent=off \
|
# --mysqld=--log-output=none \
|
# --mysqld=--log-bin \
|
# --mysqld=--plugin-load-add=file_key_management.so \
|
# --mysqld=--loose-idle_transaction_timeout=0 \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
|
# --mysqld=--slave_net_timeout=60 \
|
# --mysqld=--net_read_timeout=30 \
|
# --mysqld=--file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
|
# --mysqld=--sync-binlog=1 \
|
# --mysqld=--loose-max-statement-time=30 \
|
# --mysqld=--innodb_page_size=4K \
|
# --mysqld=--connect_timeout=60 \
|
# --mysqld=--loose-table_lock_wait_timeout=50 \
|
# --mysqld=--loose_innodb_lock_schedule_algorithm=fcfs \
|
# --mysqld=--log_bin_trust_function_creators=1 \
|
# --mysqld=--wait_timeout=28800 \
|
# --mysqld=--interactive_timeout=28800 \
|
# --reporters=Backtrace,Deadlock1,ErrorLog \
|
# --validators=None \
|
# --threads=2 \
|
# --rr=Extended \
|
# --rr_options=--chaos --wait \
|
# --vardir_type=fast \
|
# --no_mask \
|
# <some local settings>
|
|
Search pattern
|
[ 'TBR-1110', 'mysqld: .{1,250}fts0opt.cc:.{1,10}: void fts_optimize_remove_table\(dict_table_t\*\): Assertion \`\!table->fts->in_queue\' failed..+RESULT: The RQG run ended with status STATUS_SERVER_CRASHED' ],
|
{"report":{"fcp":805.9000000953674,"ttfb":190.70000004768372,"pageVisibility":"visible","entityId":107400,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"1179e2dd-9401-4692-a21d-385a94dd3f42","navigationType":0,"readyForUser":899.3000000715256,"redirectCount":0,"resourceLoadedEnd":562.1000000238419,"resourceLoadedStart":202.70000004768372,"resourceTiming":[{"duration":5.899999976158142,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":202.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":208.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":6.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":203,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":209.5,"responseStart":0,"secureConnectionStart":0},{"duration":189.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":203.20000004768372,"connectEnd":211.30000007152557,"connectStart":211.30000007152557,"domainLookupEnd":211.30000007152557,"domainLookupStart":211.30000007152557,"fetchStart":203.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":211.60000002384186,"responseEnd":392.60000002384186,"responseStart":224.60000002384186,"secureConnectionStart":211.30000007152557},{"duration":340.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":203.80000007152557,"connectEnd":203.80000007152557,"connectStart":203.80000007152557,"domainLookupEnd":203.80000007152557,"domainLookupStart":203.80000007152557,"fetchStart":203.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":213,"responseEnd":544.7000000476837,"responseStart":235.30000007152557,"secureConnectionStart":203.80000007152557},{"duration":27.100000023841858,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":204,"connectEnd":204,"connectStart":204,"domainLookupEnd":204,"domainLookupStart":204,"fetchStart":204,"redirectEnd":0,"redirectStart":0,"requestStart":213.90000009536743,"responseEnd":231.10000002384186,"responseStart":226.30000007152557,"secureConnectionStart":204},{"duration":38.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":204.10000002384186,"connectEnd":204.10000002384186,"connectStart":204.10000002384186,"domainLookupEnd":204.10000002384186,"domainLookupStart":204.10000002384186,"fetchStart":204.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":216.10000002384186,"responseEnd":242.20000004768372,"responseStart":235.90000009536743,"secureConnectionStart":204.10000002384186},{"duration":38.199999928474426,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":204.40000009536743,"connectEnd":204.40000009536743,"connectStart":204.40000009536743,"domainLookupEnd":204.40000009536743,"domainLookupStart":204.40000009536743,"fetchStart":204.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":216.60000002384186,"responseEnd":242.60000002384186,"responseStart":237.10000002384186,"secureConnectionStart":204.40000009536743},{"duration":10.400000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":204.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":214.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":38.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":204.60000002384186,"connectEnd":204.60000002384186,"connectStart":204.60000002384186,"domainLookupEnd":204.60000002384186,"domainLookupStart":204.60000002384186,"fetchStart":204.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":218.40000009536743,"responseEnd":243.10000002384186,"responseStart":237.70000004768372,"secureConnectionStart":204.60000002384186},{"duration":12.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":204.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":217.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":38.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":204.90000009536743,"connectEnd":204.90000009536743,"connectStart":204.90000009536743,"domainLookupEnd":204.90000009536743,"domainLookupStart":204.90000009536743,"fetchStart":204.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":219.5,"responseEnd":243.5,"responseStart":239.10000002384186,"secureConnectionStart":204.90000009536743},{"duration":332.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":229.5,"connectEnd":229.5,"connectStart":229.5,"domainLookupEnd":229.5,"domainLookupStart":229.5,"fetchStart":229.5,"redirectEnd":0,"redirectStart":0,"requestStart":318.60000002384186,"responseEnd":561.9000000953674,"responseStart":555.2000000476837,"secureConnectionStart":229.5},{"duration":332.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":229.5,"connectEnd":229.5,"connectStart":229.5,"domainLookupEnd":229.5,"domainLookupStart":229.5,"fetchStart":229.5,"redirectEnd":0,"redirectStart":0,"requestStart":319.2000000476837,"responseEnd":562.1000000238419,"responseStart":556,"secureConnectionStart":229.5},{"duration":237.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":517.7000000476837,"connectEnd":517.7000000476837,"connectStart":517.7000000476837,"domainLookupEnd":517.7000000476837,"domainLookupStart":517.7000000476837,"fetchStart":517.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":720.8000000715256,"responseEnd":755.3000000715256,"responseStart":754.5,"secureConnectionStart":517.7000000476837},{"duration":148.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":759.5,"connectEnd":759.5,"connectStart":759.5,"domainLookupEnd":759.5,"domainLookupStart":759.5,"fetchStart":759.5,"redirectEnd":0,"redirectStart":0,"requestStart":875.3000000715256,"responseEnd":908.4000000953674,"responseStart":907.7000000476837,"secureConnectionStart":759.5},{"duration":197.89999997615814,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":797.3000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":797.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":995.2000000476837,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":9,"responseStart":190,"responseEnd":228,"domLoading":194,"domInteractive":1018,"domContentLoadedEventStart":1018,"domContentLoadedEventEnd":1068,"domComplete":1424,"loadEventStart":1424,"loadEventEnd":1425,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":997},{"name":"bigPipe.sidebar-id.end","time":997.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":997.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":999},{"name":"activityTabFullyLoaded","time":1086.1000000238419}],"measures":[],"correlationId":"48713163b37199","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
MDEV-27672even when there was no fts index added. Problem should exist from 10.6 onwards.
The following alter does add only the unique index, and the table has only FTS_DOC_ID_INDEX.
ALTER TABLE t3 ADD UNIQUE INDEX IF NOT EXISTS `uidx1` ( col_string ASC ), ADD UNIQUE INDEX IF NOT EXISTS `uIdx1` ( col_string ASC ) /* E_R Thread1 QNO 807 CON_ID 17 */