Workflow
|
1. Bootstrap and start DB server MariaDB 10.5.14
|
origin/10.5 2776635cb98d35867447d375fdc04a44ef11a697 2021-12-16
|
2. Create some initial data and run some DDL/DML in one session.
|
3. Dump schemas and table data
|
4. Send SIGTERM to DB server and wait till its finished
|
5. Restart with 10.7.2
|
origin/10.7 92a4e76a2c1c15fb44dc0cb05e06d5aa408a8e35 2021-12-14
|
fails like
|
2021-12-20 18:51:01 0 [Warning] mysqld: MariaDB tried to use the LZO compression, but its provider plugin is not loaded
|
2021-12-20 18:51:01 0 [ERROR] InnoDB: Failed to read page 3 from file './test/t7.ibd': Table is compressed or encrypted but uncompress or decrypt failed.
|
... <=== IMHO already this sufficient bad.
|
2021-12-20 18:51:02 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).
|
2021-12-20 18:51:02 0 [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
|
<== This might be from whatever good or bad reason.
|
pluto:/data/results/1640025904/TBR-1313A/dev/shm/rqg/1640025904/62/1/rr
|
_RR_TRACE_DIR="." rr replay --mark-stdio mysqld-1
|
# Fate of the server startet with 10.5 till arrival of SIGTERM
|
_RR_TRACE_DIR="." rr replay --mark-stdio mysqld-2
|
# Fate of the server startet with 10.7
|
|
pluto:/data/results/1640025904/TBR-1313A/dev/shm/rqg/1640025904/62/1/data_orig/
|
# Copy of the data directory before the restart attempt with 10.7
|
|
Reproducing the problem with RQG is not difficult.
|
And roughly any compression algorithm used within the test
|
(Snappy, LZMA, LZO, ...) showed somewhere up.
|
|
RQG
|
====
|
# git clone https://github.com/mleich1/rqg --branch experimental RQG
|
#
|
# GIT_SHOW: HEAD -> experimental, origin/experimental 62e549d1b378ee71215e439c95eb5b1519434137 2021-12-20T18:19:03+01:00
|
# rqg.pl : Version 4.0.4 (2021-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=2 \
|
# --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 \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --no-mask \
|
# --queries=10000000 \
|
# --seed=random \
|
# --reporters=Backtrace \
|
# --reporters=ErrorLog \
|
# --reporters=Deadlock1 \
|
# --reporters=Upgrade1 \
|
# --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 \
|
# --upgrade-test \
|
# --mysqld=--plugin-load-add=file_key_management.so \
|
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
|
# --duration=120 \
|
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--innodb_stats_persistent=on \
|
# --mysqld=--innodb_adaptive_hash_index=off \
|
# --mysqld=--log-bin \
|
# --mysqld=--sync-binlog=1 \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --mysqld=--loose-max-statement-time=30 \
|
# --threads=9 \
|
# --mysqld=--innodb-use-native-aio=0 \
|
# --mysqld=--loose-gdb \
|
# --mysqld=--loose-debug-gdb \
|
# --rr=Extended \
|
# --rr_options=--chaos --wait \
|
# --mysqld=--innodb_undo_tablespaces=3 \
|
# --mysqld=--innodb_undo_log_truncate=ON \
|
# --vardir_type=fast \
|
# --mysqld=--innodb_page_size=32K \
|
# --mysqld=--innodb-buffer-pool-size=24M \
|
# --mysqld=--loose-innodb_log_files_in_group=2 \
|
# --no_mask \
|
# <local settings>
|
- relates to
-
MDEV-27887
InnoDB may crash when required compression plugins are not loaded
-
-
Confirmed
{"report":{"fcp":962.8999998569489,"ttfb":223.59999990463257,"pageVisibility":"visible","entityId":106184,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"810207e1-f8a0-437c-86eb-c7f0dd1f4b19","navigationType":0,"readyForUser":1052.5999999046326,"redirectCount":0,"resourceLoadedEnd":820,"resourceLoadedStart":228.79999995231628,"resourceTiming":[{"duration":253.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":228.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":228.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":482.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":253.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":229.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":229.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":483,"responseStart":0,"secureConnectionStart":0},{"duration":263.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":229.19999980926514,"connectEnd":229.19999980926514,"connectStart":229.19999980926514,"domainLookupEnd":229.19999980926514,"domainLookupStart":229.19999980926514,"fetchStart":229.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":229.19999980926514,"responseEnd":492.5,"responseStart":492.5,"secureConnectionStart":229.19999980926514},{"duration":340.2999999523163,"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":229.39999985694885,"connectEnd":229.39999985694885,"connectStart":229.39999985694885,"domainLookupEnd":229.39999985694885,"domainLookupStart":229.39999985694885,"fetchStart":229.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":229.39999985694885,"responseEnd":569.6999998092651,"responseStart":569.6999998092651,"secureConnectionStart":229.39999985694885},{"duration":344.2000000476837,"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":229.59999990463257,"connectEnd":229.59999990463257,"connectStart":229.59999990463257,"domainLookupEnd":229.59999990463257,"domainLookupStart":229.59999990463257,"fetchStart":229.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":229.59999990463257,"responseEnd":573.7999999523163,"responseStart":573.7999999523163,"secureConnectionStart":229.59999990463257},{"duration":344.39999985694885,"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":229.79999995231628,"connectEnd":229.79999995231628,"connectStart":229.79999995231628,"domainLookupEnd":229.79999995231628,"domainLookupStart":229.79999995231628,"fetchStart":229.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":229.79999995231628,"responseEnd":574.1999998092651,"responseStart":574.1999998092651,"secureConnectionStart":229.79999995231628},{"duration":344.60000014305115,"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":229.89999985694885,"connectEnd":229.89999985694885,"connectStart":229.89999985694885,"domainLookupEnd":229.89999985694885,"domainLookupStart":229.89999985694885,"fetchStart":229.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":229.89999985694885,"responseEnd":574.5,"responseStart":574.5,"secureConnectionStart":229.89999985694885},{"duration":407.40000009536743,"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":230.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":637.5,"responseStart":0,"secureConnectionStart":0},{"duration":344.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":230.29999995231628,"connectEnd":230.29999995231628,"connectStart":230.29999995231628,"domainLookupEnd":230.29999995231628,"domainLookupStart":230.29999995231628,"fetchStart":230.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":230.29999995231628,"responseEnd":575,"responseStart":575,"secureConnectionStart":230.29999995231628},{"duration":407.09999990463257,"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":230.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":637.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":345,"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":230.59999990463257,"connectEnd":230.59999990463257,"connectStart":230.59999990463257,"domainLookupEnd":230.59999990463257,"domainLookupStart":230.59999990463257,"fetchStart":230.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":230.59999990463257,"responseEnd":575.5999999046326,"responseStart":575.5999999046326,"secureConnectionStart":230.59999990463257},{"duration":403.5,"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":237.29999995231628,"connectEnd":237.29999995231628,"connectStart":237.29999995231628,"domainLookupEnd":237.29999995231628,"domainLookupStart":237.29999995231628,"fetchStart":237.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":237.29999995231628,"responseEnd":640.7999999523163,"responseStart":640.7999999523163,"secureConnectionStart":237.29999995231628},{"duration":404,"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":240.89999985694885,"connectEnd":240.89999985694885,"connectStart":240.89999985694885,"domainLookupEnd":240.89999985694885,"domainLookupStart":240.89999985694885,"fetchStart":240.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":240.89999985694885,"responseEnd":644.8999998569489,"responseStart":644.7999999523163,"secureConnectionStart":240.89999985694885},{"duration":23.700000047683716,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":670.0999999046326,"connectEnd":670.0999999046326,"connectStart":670.0999999046326,"domainLookupEnd":670.0999999046326,"domainLookupStart":670.0999999046326,"fetchStart":670.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":670.0999999046326,"responseEnd":693.7999999523163,"responseStart":693.7999999523163,"secureConnectionStart":670.0999999046326},{"duration":121.80000019073486,"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":698.1999998092651,"connectEnd":698.1999998092651,"connectStart":698.1999998092651,"domainLookupEnd":698.1999998092651,"domainLookupStart":698.1999998092651,"fetchStart":698.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":698.1999998092651,"responseEnd":820,"responseStart":820,"secureConnectionStart":698.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":24,"responseStart":223,"responseEnd":240,"domLoading":227,"domInteractive":1186,"domContentLoadedEventStart":1186,"domContentLoadedEventEnd":1256,"domComplete":1461,"loadEventStart":1461,"loadEventEnd":1461,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1139.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1140.3999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":1140.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1146.1999998092651},{"name":"activityTabFullyLoaded","time":1274.5}],"measures":[],"correlationId":"140a9893fb5f37","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":122,"dbReadsTimeInMs":16,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
mleich,
But you really don't load the provider plugin on the upgraded server, do you? I don't see it anywhere in the test options.
In this case, there is no need of rr or a stress test to repeat this. Create an LZO-compressed table on 10.5, shut down, start 10.7 without lzo provider, observe the error.