After an upgrade to 10.7.3-1 I have attempted to add a new database using "mysql -uroot -p brgtest2_db < daily_brg_db.sql" which fails with errors like "ERROR 2013 (HY000) at line 13654: Lost connection to server during query"
After several re installs of 10.7.3-1 and many test restores I have found that this only occurs after I re-enable data-at-rest encryption. Before data-at-rest is enabled the mysql dump restore works as expected without error on 10.7.3-1.
This issue has only manifested after an uninstall/reinstall upgrade from 10.6.7-1 to 10.7.3-1. The same procedure did not generate errors when I restored a dump to 10.6.7-1 with data-at-rest encryption enabled.
Any guidance as why this is happening would be greatly appreciated.
–
Data at rest encryption is being enabled with:
- File Key Management
plugin_load_add = file_key_management
loose_file_key_management_filename = /etc/my.cnf.d/encryption/keyfile.enc
loose_file_key_management_filekey = FILE:/etc/my.cnf.d/encryption/keyfile.key
loose_file_key_management_encryption_algorithm = AES_CTR
- InnoDB/XtraDB Encryption
innodb_encrypt_tables = ON
innodb_encrypt_temporary_tables = ON
innodb_encrypt_log = ON
innodb_encryption_threads = 4
innodb_encryption_rotate_key_age = 1
- TLS
ssl_cert = /etc/my.cnf.d/encryption/server-cert.pem
ssl_key = /etc/my.cnf.d/encryption/server-key.pem
ssl_ca = /etc/my.cnf.d/encryption/ca.pem
tls_version = TLSv1.2,TLSv1.3
- relates to
-
MDEV-28679
After upgrade to 10.7.3-1 with enabled data-at-rest encryption unable to restore dump file.
-
-
Closed
{"report":{"fcp":738.7000000476837,"ttfb":198.80000007152557,"pageVisibility":"visible","entityId":109972,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"398d389b-5fbc-44ab-b6ec-9f341cf4b3cb","navigationType":0,"readyForUser":838.7000000476837,"redirectCount":0,"resourceLoadedEnd":471.39999997615814,"resourceLoadedStart":203.30000007152557,"resourceTiming":[{"duration":13.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":203.30000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":216.80000007152557,"responseStart":0,"secureConnectionStart":0},{"duration":13.399999976158142,"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.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":217,"responseStart":0,"secureConnectionStart":0},{"duration":161.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":203.60000002384186,"connectEnd":219.10000002384186,"connectStart":219.10000002384186,"domainLookupEnd":219.10000002384186,"domainLookupStart":219.10000002384186,"fetchStart":203.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":219.60000002384186,"responseEnd":365.5,"responseStart":232.80000007152557,"secureConnectionStart":219.10000002384186},{"duration":28.899999976158142,"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":203.80000007152557,"connectEnd":203.80000007152557,"connectStart":203.80000007152557,"domainLookupEnd":203.80000007152557,"domainLookupStart":203.80000007152557,"fetchStart":203.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":220.10000002384186,"responseEnd":232.70000004768372,"responseStart":231.20000004768372,"secureConnectionStart":203.80000007152557},{"duration":267.59999990463257,"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":219.80000007152557,"responseEnd":471.39999997615814,"responseStart":238.39999997615814,"secureConnectionStart":203.80000007152557},{"duration":43.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":203.89999997615814,"connectEnd":203.89999997615814,"connectStart":203.89999997615814,"domainLookupEnd":203.89999997615814,"domainLookupStart":203.89999997615814,"fetchStart":203.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":221.30000007152557,"responseEnd":247,"responseStart":242.10000002384186,"secureConnectionStart":203.89999997615814},{"duration":43.60000002384186,"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,"connectEnd":204,"connectStart":204,"domainLookupEnd":204,"domainLookupStart":204,"fetchStart":204,"redirectEnd":0,"redirectStart":0,"requestStart":223.39999997615814,"responseEnd":247.60000002384186,"responseStart":243.10000002384186,"secureConnectionStart":204},{"duration":17.399999976158142,"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.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":221.5,"responseStart":0,"secureConnectionStart":0},{"duration":44.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":204.20000004768372,"connectEnd":204.20000004768372,"connectStart":204.20000004768372,"domainLookupEnd":204.20000004768372,"domainLookupStart":204.20000004768372,"fetchStart":204.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":224.10000002384186,"responseEnd":248.30000007152557,"responseStart":244.10000002384186,"secureConnectionStart":204.20000004768372},{"duration":19,"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.30000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":223.30000007152557,"responseStart":0,"secureConnectionStart":0},{"duration":47.199999928474426,"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.30000007152557,"connectEnd":204.30000007152557,"connectStart":204.30000007152557,"domainLookupEnd":204.30000007152557,"domainLookupStart":204.30000007152557,"fetchStart":204.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":225.5,"responseEnd":251.5,"responseStart":248.60000002384186,"secureConnectionStart":204.30000007152557},{"duration":238.09999990463257,"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":211.80000007152557,"connectEnd":211.80000007152557,"connectStart":211.80000007152557,"domainLookupEnd":211.80000007152557,"domainLookupStart":211.80000007152557,"fetchStart":211.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":258.5,"responseEnd":449.89999997615814,"responseStart":442.8000000715256,"secureConnectionStart":211.80000007152557},{"duration":238.20000004768372,"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":211.89999997615814,"connectEnd":211.89999997615814,"connectStart":211.89999997615814,"domainLookupEnd":211.89999997615814,"domainLookupStart":211.89999997615814,"fetchStart":211.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":261.10000002384186,"responseEnd":450.10000002384186,"responseStart":444,"secureConnectionStart":211.89999997615814},{"duration":49.10000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":507.10000002384186,"connectEnd":507.10000002384186,"connectStart":507.10000002384186,"domainLookupEnd":507.10000002384186,"domainLookupStart":507.10000002384186,"fetchStart":507.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":526.3000000715256,"responseEnd":556.2000000476837,"responseStart":555.3999999761581,"secureConnectionStart":507.10000002384186},{"duration":70.60000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":732.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":732.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":803,"responseStart":0,"secureConnectionStart":0},{"duration":94.69999992847443,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":738.8000000715256,"connectEnd":738.8000000715256,"connectStart":738.8000000715256,"domainLookupEnd":738.8000000715256,"domainLookupStart":738.8000000715256,"fetchStart":738.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":803.3000000715256,"responseEnd":833.5,"responseStart":832.1000000238419,"secureConnectionStart":738.8000000715256}],"fetchStart":0,"domainLookupStart":25,"domainLookupEnd":30,"connectStart":30,"connectEnd":51,"secureConnectionStart":39,"requestStart":52,"responseStart":199,"responseEnd":211,"domLoading":202,"domInteractive":888,"domContentLoadedEventStart":888,"domContentLoadedEventEnd":929,"domComplete":1246,"loadEventStart":1246,"loadEventEnd":1246,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":872.3999999761581},{"name":"bigPipe.sidebar-id.end","time":873},{"name":"bigPipe.activity-panel-pipe-id.start","time":873.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":874.1000000238419},{"name":"activityTabFullyLoaded","time":940.8000000715256}],"measures":[],"correlationId":"e5ce990adbea30","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Please disregard. Issue resolved.