Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 10.11 , 11.0(EOL) , 11.1(EOL) , 11.2(EOL)
Observation on
origin/bb-10.6-MDEV-31559 3d9014385926096264e36bb3a0960660d61d0d1d 2023-06-30T17:07:21+03:00
but I assume it could happen on all MariaDB versions and not only on that tree.
Scenario:
1. Start the server and create some initial data.
2. 33 sessions run concurrent a random DDL/DML mix.
3. At some point of time RQG detects that the planned runtime of 300s was exceeded
by 240s and assumes that there might be some hang.
The processlist shows
Content of processlist ---------- begin
ID -- COMMAND -- TIME -- INFO
14 -- Killed -- 384 -- UPDATE `t8` SET `pad` = 'o' WHERE `id` = 15519 /* E_R Thread1 QNO 74 CON_ID 14 */
15 -- Killed -- 432 -- INSERT IGNORE INTO `t7` ( `k` ) VALUES ( 43283 ) /* E_R Thread2 QNO 69 CON_ID 15 */
16 -- Killed -- 415 -- INSERT IGNORE INTO `t7` ( `id`, `pad` ) VALUES ( NULL, 'q' ) /* E_R Thread3 QNO 78 CON_ID 16 */
17 -- Killed -- 446 -- DELETE FROM `t8` WHERE `id` = 30947 /* E_R Thread4 QNO 61 CON_ID 17 */
18 -- Killed -- 445 -- UPDATE `t8` SET `pad` = 'v' WHERE `id` = 22319 /* E_R Thread5 QNO 61 CON_ID 18 */
19 -- Killed -- 436 -- CREATE OR REPLACE TABLE D LIKE `t8` /* E_R Thread7 QNO 49 CON_ID 19 */
20 -- Killed -- 431 -- CREATE OR REPLACE TABLE A LIKE `t8` /* E_R Thread6 QNO 78 CON_ID 20 */
21 -- Killed -- 417 -- INSERT IGNORE INTO `t7` ( `k` ) VALUES ( 13625 ) /* E_R Thread8 QNO 87 CON_ID 21 */
22 -- Killed -- 448 -- INSERT IGNORE INTO `t7` ( `id`, `k`) VALUES ( NULL, 1919221760 ) /* E_R Thread9 QNO 38 CON_ID 22 */
23 -- Killed -- 417 -- INSERT IGNORE INTO `t8` ( `id`, `id`) VALUES ( NULL, 1691090944 ) /* E_R Thread10 QNO 52 CON_ID 23 */
24 -- Killed -- 433 -- UPDATE IGNORE `t8` SET `k` = `k` + 1 WHERE `id` = 7807 /* E_R Thread11 QNO 50 CON_ID 24 */
25 -- Killed -- 432 -- INSERT IGNORE INTO `t8` ( `id`, `pad` ) VALUES ( NULL, 'n' ) /* E_R Thread12 QNO 87 CON_ID 25 */
26 -- Killed -- 441 -- UPDATE IGNORE `t8` SET `k` = `k` + 1 WHERE `id` = 61601 /* E_R Thread13 QNO 32 CON_ID 26 */
27 -- Killed -- 445 -- DELETE FROM `t8` WHERE `id` = 16326 /* E_R Thread14 QNO 55 CON_ID 27 */
28 -- Killed -- 446 -- INSERT IGNORE INTO `t8` ( `id`, `pad` ) VALUES ( NULL, 't' ) /* E_R Thread15 QNO 43 CON_ID 28 */
29 -- Killed -- 448 -- UPDATE `t8` SET `pad` = 'w' WHERE `id` = 42498 /* E_R Thread16 QNO 47 CON_ID 29 */
30 -- Killed -- 406 -- DELETE FROM `t8` WHERE `id` = 59209 /* E_R Thread17 QNO 56 CON_ID 30 */
31 -- Killed -- 417 -- INSERT IGNORE INTO `t8` ( `id`, `pad` ) VALUES ( NULL, 'j' ) /* E_R Thread18 QNO 76 CON_ID 31 */
32 -- Killed -- 406 -- UPDATE `t8` SET `c` = 'u' WHERE `id` = 10288 /* E_R Thread20 QNO 61 CON_ID 32 */
33 -- Killed -- 417 -- INSERT IGNORE INTO `t8` ( `id`, `pad` ) VALUES ( NULL, 'g' ) /* E_R Thread22 QNO 61 CON_ID 33 */
34 -- Killed -- 446 -- UPDATE IGNORE `t8` SET `k` = `id` + 1 WHERE `id` = 4899 /* E_R Thread19 QNO 50 CON_ID 34 */
35 -- Killed -- 433 -- INSERT IGNORE INTO `t8` ( `id` ) VALUES ( 9540 ) /* E_R Thread24 QNO 57 CON_ID 35 */
36 -- Killed -- 388 -- UPDATE IGNORE `t8` SET `id` = `id` + 1 WHERE `id` = 16125 /* E_R Thread23 QNO 70 CON_ID 36 */
37 -- Killed -- 445 -- UPDATE `t8` SET `c` = 'x' WHERE `id` = 62671 /* E_R Thread21 QNO 76 CON_ID 37 */
38 -- Killed -- 372 -- INSERT IGNORE INTO `t7` ( `k` ) VALUES ( 58830 ) /* E_R Thread25 QNO 99 CON_ID 38 */
39 -- Killed -- 295 -- INSERT IGNORE INTO `t7` ( `id` ) VALUES ( 32728 ) /* E_R Thread26 QNO 106 CON_ID 39 */
40 -- Killed -- 447 -- UPDATE IGNORE `t8` SET `k` = `k` + 1 WHERE `id` = 63092 /* E_R Thread27 QNO 59 CON_ID 40 */
41 -- Killed -- 402 -- UPDATE IGNORE `t8` SET `id` = `k` + 1 WHERE `id` = 44812 /* E_R Thread28 QNO 68 CON_ID 41 */
42 -- Killed -- 432 -- CREATE OR REPLACE TABLE E AS SELECT * FROM `t8` /* E_R Thread31 QNO 67 CON_ID 42 */
43 -- Killed -- 446 -- INSERT IGNORE INTO `t8` ( `c` ) VALUES ( 'w' ) /* E_R Thread30 QNO 52 CON_ID 43 */
44 -- Killed -- 415 -- ALTER TABLE `t8` FORCE /* E_R Thread29 QNO 66 CON_ID 44 */
45 -- Killed -- 449 -- INSERT IGNORE INTO `t8` ( `id`, `c` ) VALUES ( NULL, 'i' ) /* E_R Thread32 QNO 59 CON_ID 45 */
46 -- Killed -- 315 -- UPDATE IGNORE `t7` SET `k` = `id` + 1 WHERE `id` = 5957 /* E_R Thread33 QNO 97 CON_ID 46 */
106 -- Query -- 0 -- SHOW FULL PROCESSLIST
sdp:/data1/results/1688400193/Freeze$ _RR_TRACE_DIR=./1/rr rr replay --mark-stdio
RQG
===
# git clone https://github.com/mleich1/rqg --branch <pick the right branch> RQG
#
# GIT_SHOW: HEAD -> master, origin/master, origin/HEAD 0fb21c5d3820319b143188a54734f9dbae946b23 2023-07-03T19:30:45+02:00
# rqg.pl : Version 4.2.1 (2022-12)
#
# $RQG_HOME/rqg.pl \
# --grammar=conf/mariadb/innodb_compression_encryption.yy \
# --gendata=conf/mariadb/innodb_compression_encryption.zz \
# --max_gd_duration=1800 \
# --mysqld=--loose-innodb_encryption_rotate_key_age=1 \
# --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
# --mysqld=--loose-idle_write_transaction_timeout=0 \
# --mysqld=--loose-idle_transaction_timeout=0 \
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
# --mysqld=--connect_timeout=60 \
# --mysqld=--interactive_timeout=28800 \
# --mysqld=--slave_net_timeout=60 \
# --mysqld=--net_read_timeout=30 \
# --mysqld=--net_write_timeout=60 \
# --mysqld=--loose-table_lock_wait_timeout=50 \
# --mysqld=--wait_timeout=28800 \
# --no_mask \
# --queries=10000000 \
# --seed=random \
# --reporters=None \
# --reporters=ErrorLog \
# --reporters=Deadlock \
# --validators=None \
# --mysqld=--log_output=none \
# --mysqld=--log_bin_trust_function_creators=1 \
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
# --engine=InnoDB \
# --restart_timeout=240 \
# --mysqld=--plugin-load-add=file_key_management.so \
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
# --mysqld=--plugin-load-add=provider_lzo.so \
# --mysqld=--plugin-load-add=provider_bzip2.so \
# --mysqld=--plugin-load-add=provider_lzma.so \
# --mysqld=--plugin-load-add=provider_snappy.so \
# --mysqld=--plugin-load-add=provider_lz4.so \
# --mysqld=--loose-innodb_compression_level=1 \
# --duration=300 \
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
# --mysqld=--lock-wait-timeout=15 \
# --mysqld=--innodb-lock-wait-timeout=10 \
# --mysqld=--loose-innodb_read_only_compressed=OFF \
# --mysqld=--innodb_stats_persistent=on \
# --mysqld=--innodb_adaptive_hash_index=off \
# --mysqld=--innodb_random_read_ahead=OFF \
# --redefine=conf/mariadb/redefine_checks_off.yy \
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
# --mysqld=--loose-max-statement-time=30 \
# --threads=33 \
# --mysqld=--innodb-use-native-aio=0 \
# --mysqld=--loose-gdb \
# --mysqld=--loose-debug-gdb \
# --rr=Extended \
# --rr_options=--wait \
# --mysqld=--innodb_undo_log_truncate=OFF \
# --mysqld=--loose_innodb_change_buffering=inserts \
# --mysqld=--innodb_undo_tablespaces=3 \
# --mysqld=--innodb_rollback_on_timeout=OFF \
# --mysqld=--innodb_page_size=32K \
# --mysqld=--innodb-buffer-pool-size=24M \
# <local settings>
Marko Mäkelä
made changes -
2023-07-05 05:50
Field
Original Value
New Value
Status
Open
[ 1
]
In Progress
[ 3
]
Marko Mäkelä
made changes -
2023-07-05 14:03
issue.field.resolutiondate
2023-07-05 14:03:27.0
2023-07-05 14:03:27.184
Marko Mäkelä
made changes -
2023-07-05 14:03
Fix Version/s
10.6.15
[ 29013
]
Fix Version/s
10.9.8
[ 29015
]
Fix Version/s
10.10.6
[ 29017
]
Fix Version/s
10.11.5
[ 29019
]
Fix Version/s
11.0.3
[ 28920
]
Fix Version/s
11.1.2
[ 28921
]
Fix Version/s
11.2.1
[ 29034
]
Fix Version/s
10.6
[ 24028
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Marko Mäkelä
made changes -
2023-07-05 14:04
Affects Version/s
10.6
[ 24028
]
Affects Version/s
10.7
[ 24805
]
Affects Version/s
10.8
[ 26121
]
Affects Version/s
10.9
[ 26905
]
Affects Version/s
10.10
[ 27530
]
Affects Version/s
10.11
[ 27614
]
Affects Version/s
11.0
[ 28320
]
Affects Version/s
11.1
[ 28549
]
Affects Version/s
11.2
[ 28603
]
Affects Version/s
10.6.15
[ 29013
]
{"report":{"fcp":1054.5,"ttfb":318.90000009536743,"pageVisibility":"visible","entityId":123206,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"5c64fcf3-4364-4df4-a731-3359ceb5d390","navigationType":0,"readyForUser":1190.7000002861023,"redirectCount":0,"resourceLoadedEnd":1231.1000003814697,"resourceLoadedStart":324.40000009536743,"resourceTiming":[{"duration":32.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":324.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":324.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":357.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":32.90000009536743,"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":324.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":324.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":357.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":92.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":324.90000009536743,"connectEnd":324.90000009536743,"connectStart":324.90000009536743,"domainLookupEnd":324.90000009536743,"domainLookupStart":324.90000009536743,"fetchStart":324.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":324.90000009536743,"responseEnd":417,"responseStart":417,"secureConnectionStart":324.90000009536743},{"duration":383,"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":325,"connectEnd":325,"connectStart":325,"domainLookupEnd":325,"domainLookupStart":325,"fetchStart":325,"redirectEnd":0,"redirectStart":0,"requestStart":325,"responseEnd":708,"responseStart":708,"secureConnectionStart":325},{"duration":386.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":325.2000002861023,"connectEnd":325.2000002861023,"connectStart":325.2000002861023,"domainLookupEnd":325.2000002861023,"domainLookupStart":325.2000002861023,"fetchStart":325.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":325.2000002861023,"responseEnd":711.6000003814697,"responseStart":711.6000003814697,"secureConnectionStart":325.2000002861023},{"duration":386.7000002861023,"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":325.40000009536743,"connectEnd":325.40000009536743,"connectStart":325.40000009536743,"domainLookupEnd":325.40000009536743,"domainLookupStart":325.40000009536743,"fetchStart":325.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":325.40000009536743,"responseEnd":712.1000003814697,"responseStart":712.1000003814697,"secureConnectionStart":325.40000009536743},{"duration":386.7999997138977,"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":325.6000003814697,"connectEnd":325.6000003814697,"connectStart":325.6000003814697,"domainLookupEnd":325.6000003814697,"domainLookupStart":325.6000003814697,"fetchStart":325.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":325.6000003814697,"responseEnd":712.4000000953674,"responseStart":712.4000000953674,"secureConnectionStart":325.6000003814697},{"duration":387.59999990463257,"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":325.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":325.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":387,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":325.90000009536743,"connectEnd":325.90000009536743,"connectStart":325.90000009536743,"domainLookupEnd":325.90000009536743,"domainLookupStart":325.90000009536743,"fetchStart":325.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":325.90000009536743,"responseEnd":712.9000000953674,"responseStart":712.9000000953674,"secureConnectionStart":325.90000009536743},{"duration":387.3999996185303,"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":326.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":326.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.5,"responseStart":0,"secureConnectionStart":0},{"duration":387.2999997138977,"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":326.2000002861023,"connectEnd":326.2000002861023,"connectStart":326.2000002861023,"domainLookupEnd":326.2000002861023,"domainLookupStart":326.2000002861023,"fetchStart":326.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":326.2000002861023,"responseEnd":713.5,"responseStart":713.5,"secureConnectionStart":326.2000002861023},{"duration":534.9000000953674,"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":332.5,"connectEnd":332.5,"connectStart":332.5,"domainLookupEnd":332.5,"domainLookupStart":332.5,"fetchStart":332.5,"redirectEnd":0,"redirectStart":0,"requestStart":332.5,"responseEnd":867.4000000953674,"responseStart":867.4000000953674,"secureConnectionStart":332.5},{"duration":806.5,"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":332.5,"connectEnd":332.5,"connectStart":332.5,"domainLookupEnd":332.5,"domainLookupStart":332.5,"fetchStart":332.5,"redirectEnd":0,"redirectStart":0,"requestStart":332.5,"responseEnd":1139,"responseStart":1139,"secureConnectionStart":332.5},{"duration":269.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":569.3000001907349,"connectEnd":569.3000001907349,"connectStart":569.3000001907349,"domainLookupEnd":569.3000001907349,"domainLookupStart":569.3000001907349,"fetchStart":569.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":569.3000001907349,"responseEnd":838.9000000953674,"responseStart":838.9000000953674,"secureConnectionStart":569.3000001907349},{"duration":243,"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":988.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":988.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1231.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":185.39999961853027,"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":989.1000003814697,"connectEnd":989.1000003814697,"connectStart":989.1000003814697,"domainLookupEnd":989.1000003814697,"domainLookupStart":989.1000003814697,"fetchStart":989.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":989.1000003814697,"responseEnd":1174.5,"responseStart":1174.5,"secureConnectionStart":989.1000003814697},{"duration":191.7000002861023,"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":989.5,"connectEnd":989.5,"connectStart":989.5,"domainLookupEnd":989.5,"domainLookupStart":989.5,"fetchStart":989.5,"redirectEnd":0,"redirectStart":0,"requestStart":989.5,"responseEnd":1181.2000002861023,"responseStart":1181.2000002861023,"secureConnectionStart":989.5},{"duration":191.40000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1048.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1048.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1239.6000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":110,"responseStart":319,"responseEnd":328,"domLoading":323,"domInteractive":1267,"domContentLoadedEventStart":1267,"domContentLoadedEventEnd":1314,"domComplete":1498,"loadEventStart":1498,"loadEventEnd":1499,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1248.7000002861023},{"name":"bigPipe.sidebar-id.end","time":1249.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1249.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1252.9000000953674},{"name":"activityTabFullyLoaded","time":1343.2000002861023}],"measures":[],"correlationId":"68d240a61a82f5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":131,"dbReadsTimeInMs":17,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This is basically something that was missed in
MDEV-19514. If the InnoDB change buffer is enabled (MDEV-27734disabled it by default) and it has reached its maximum size, then any attempted buffering of further operations could lead to merging previous operations.In an execution that I analyzed, an attempt to buffer an insert into a secondary index of one table prompted merging of changes to another table. That would cause an exclusive tablespace latch to be acquired. That would in turn block the execution of many other threads.
The simplest way to fix this is to refuse to buffer operations if the change buffer is full. The caller of ibuf_insert_low() would then apply the change directly to the secondary index leaf page.