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":1296.2000000476837,"ttfb":319.59999990463257,"pageVisibility":"visible","entityId":106184,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0cc2ac2c-b3f9-41b9-8b8a-2c5e552ce9b7","navigationType":0,"readyForUser":1396.4000000953674,"redirectCount":0,"resourceLoadedEnd":1612.5,"resourceLoadedStart":328.2000000476837,"resourceTiming":[{"duration":476,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":328.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":328.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":804.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":476.09999990463257,"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":328.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":328.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":804.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":484.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":328.7999999523163,"connectEnd":328.7999999523163,"connectStart":328.7999999523163,"domainLookupEnd":328.7999999523163,"domainLookupStart":328.7999999523163,"fetchStart":328.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":328.7999999523163,"responseEnd":813.7000000476837,"responseStart":813.7000000476837,"secureConnectionStart":328.7999999523163},{"duration":575.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":330,"connectEnd":330,"connectStart":330,"domainLookupEnd":330,"domainLookupStart":330,"fetchStart":330,"redirectEnd":0,"redirectStart":0,"requestStart":330,"responseEnd":905.2999999523163,"responseStart":905.2999999523163,"secureConnectionStart":330},{"duration":578.8999998569489,"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":330.2000000476837,"connectEnd":330.2000000476837,"connectStart":330.2000000476837,"domainLookupEnd":330.2000000476837,"domainLookupStart":330.2000000476837,"fetchStart":330.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":330.2000000476837,"responseEnd":909.0999999046326,"responseStart":909.0999999046326,"secureConnectionStart":330.2000000476837},{"duration":579.2999999523163,"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":330.40000009536743,"connectEnd":330.40000009536743,"connectStart":330.40000009536743,"domainLookupEnd":330.40000009536743,"domainLookupStart":330.40000009536743,"fetchStart":330.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":330.40000009536743,"responseEnd":909.7000000476837,"responseStart":909.7000000476837,"secureConnectionStart":330.40000009536743},{"duration":579.5999999046326,"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":330.5,"connectEnd":330.5,"connectStart":330.5,"domainLookupEnd":330.5,"domainLookupStart":330.5,"fetchStart":330.5,"redirectEnd":0,"redirectStart":0,"requestStart":330.5,"responseEnd":910.0999999046326,"responseStart":910.0999999046326,"secureConnectionStart":330.5},{"duration":627.4000000953674,"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":330.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":330.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":958.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":579.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":330.90000009536743,"connectEnd":330.90000009536743,"connectStart":330.90000009536743,"domainLookupEnd":330.90000009536743,"domainLookupStart":330.90000009536743,"fetchStart":330.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":330.90000009536743,"responseEnd":910.5,"responseStart":910.5,"secureConnectionStart":330.90000009536743},{"duration":627.2000000476837,"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":331.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":331.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":958.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":579.7000000476837,"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":331.2999999523163,"connectEnd":331.2999999523163,"connectStart":331.2999999523163,"domainLookupEnd":331.2999999523163,"domainLookupStart":331.2999999523163,"fetchStart":331.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":331.2999999523163,"responseEnd":911,"responseStart":911,"secureConnectionStart":331.2999999523163},{"duration":734.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":333.09999990463257,"connectEnd":333.09999990463257,"connectStart":333.09999990463257,"domainLookupEnd":333.09999990463257,"domainLookupStart":333.09999990463257,"fetchStart":333.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":333.09999990463257,"responseEnd":1068,"responseStart":1068,"secureConnectionStart":333.09999990463257},{"duration":1279.2999999523163,"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":333.2000000476837,"connectEnd":333.2000000476837,"connectStart":333.2000000476837,"domainLookupEnd":333.2000000476837,"domainLookupStart":333.2000000476837,"fetchStart":333.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":333.2000000476837,"responseEnd":1612.5,"responseStart":1612.5,"secureConnectionStart":333.2000000476837},{"duration":103.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":973.5,"connectEnd":973.5,"connectStart":973.5,"domainLookupEnd":973.5,"domainLookupStart":973.5,"fetchStart":973.5,"redirectEnd":0,"redirectStart":0,"requestStart":973.5,"responseEnd":1077,"responseStart":1077,"secureConnectionStart":973.5},{"duration":427.59999990463257,"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":1250.9000000953674,"connectEnd":1250.9000000953674,"connectStart":1250.9000000953674,"domainLookupEnd":1250.9000000953674,"domainLookupStart":1250.9000000953674,"fetchStart":1250.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1250.9000000953674,"responseEnd":1678.5,"responseStart":1678.5,"secureConnectionStart":1250.9000000953674}],"fetchStart":0,"domainLookupStart":31,"domainLookupEnd":37,"connectStart":37,"connectEnd":59,"secureConnectionStart":47,"requestStart":61,"responseStart":319,"responseEnd":327,"domLoading":323,"domInteractive":1632,"domContentLoadedEventStart":1632,"domContentLoadedEventEnd":1679,"domComplete":2333,"loadEventStart":2333,"loadEventEnd":2333,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1614.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1615.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1615.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1616.7999999523163},{"name":"activityTabFullyLoaded","time":1693.7999999523163}],"measures":[],"correlationId":"3c7e727cf10175","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":150,"dbReadsTimeInMs":18,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}