I get this error message very often, in several machines.
The server stops running and waits until a human being erases that file manually.
This is a disaster. Mission-critical machines needs to be converted back to INNODB, which is very inefficient in terms of storage.
The right design is that Rocksdb fixes itself, erases any corrupt file and continues.
[ERROR] RocksDB: The server will exit normally and stop restart attempts. Remove ./#rocksdb/ROCKSDB_CORRUPTED file from data directory and start mysqld manually.
{"report":{"fcp":957,"ttfb":235.20000076293945,"pageVisibility":"visible","entityId":80734,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7720829c-a022-4ed2-a7cd-52e05d0a756c","navigationType":0,"readyForUser":1023.9000005722046,"redirectCount":0,"resourceLoadedEnd":730.7000007629395,"resourceLoadedStart":259.9000005722046,"resourceTiming":[{"duration":41.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":259.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":301.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":41.29999923706055,"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":260.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":301.5,"responseStart":0,"secureConnectionStart":0},{"duration":243,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":260.4000005722046,"connectEnd":260.4000005722046,"connectStart":260.4000005722046,"domainLookupEnd":260.4000005722046,"domainLookupStart":260.4000005722046,"fetchStart":260.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":306,"responseEnd":503.4000005722046,"responseStart":329.9000005722046,"secureConnectionStart":260.4000005722046},{"duration":88.69999980926514,"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":261.1000003814697,"connectEnd":261.1000003814697,"connectStart":261.1000003814697,"domainLookupEnd":261.1000003814697,"domainLookupStart":261.1000003814697,"fetchStart":261.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":327.6000003814697,"responseEnd":349.80000019073486,"responseStart":347.80000019073486,"secureConnectionStart":261.1000003814697},{"duration":364.1000003814697,"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":261.1000003814697,"connectEnd":261.1000003814697,"connectStart":261.1000003814697,"domainLookupEnd":261.1000003814697,"domainLookupStart":261.1000003814697,"fetchStart":261.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":327.4000005722046,"responseEnd":625.2000007629395,"responseStart":347.1000003814697,"secureConnectionStart":261.1000003814697},{"duration":91.29999923706055,"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":261.20000076293945,"connectEnd":261.20000076293945,"connectStart":261.20000076293945,"domainLookupEnd":261.20000076293945,"domainLookupStart":261.20000076293945,"fetchStart":261.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":327.70000076293945,"responseEnd":352.5,"responseStart":348.4000005722046,"secureConnectionStart":261.20000076293945},{"duration":92.60000038146973,"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":261.30000019073486,"connectEnd":261.30000019073486,"connectStart":261.30000019073486,"domainLookupEnd":261.30000019073486,"domainLookupStart":261.30000019073486,"fetchStart":261.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":327.70000076293945,"responseEnd":353.9000005722046,"responseStart":350.6000003814697,"secureConnectionStart":261.30000019073486},{"duration":63.5,"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":261.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":324.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":119.70000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":261.5,"connectEnd":261.5,"connectStart":261.5,"domainLookupEnd":261.5,"domainLookupStart":261.5,"fetchStart":261.5,"redirectEnd":0,"redirectStart":0,"requestStart":328,"responseEnd":381.20000076293945,"responseStart":379,"secureConnectionStart":261.5},{"duration":63.30000019073486,"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":261.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":324.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":93.79999923706055,"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":261.70000076293945,"connectEnd":261.70000076293945,"connectStart":261.70000076293945,"domainLookupEnd":261.70000076293945,"domainLookupStart":261.70000076293945,"fetchStart":261.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":328.20000076293945,"responseEnd":355.5,"responseStart":351,"secureConnectionStart":261.70000076293945},{"duration":467.80000019073486,"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":262.9000005722046,"connectEnd":262.9000005722046,"connectStart":262.9000005722046,"domainLookupEnd":262.9000005722046,"domainLookupStart":262.9000005722046,"fetchStart":262.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":365.6000003814697,"responseEnd":730.7000007629395,"responseStart":726.7000007629395,"secureConnectionStart":262.9000005722046},{"duration":460.8999996185303,"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":268.6000003814697,"connectEnd":268.6000003814697,"connectStart":268.6000003814697,"domainLookupEnd":268.6000003814697,"domainLookupStart":268.6000003814697,"fetchStart":268.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":388.6000003814697,"responseEnd":729.5,"responseStart":724.3000001907349,"secureConnectionStart":268.6000003814697},{"duration":115.89999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":648.4000005722046,"connectEnd":648.4000005722046,"connectStart":648.4000005722046,"domainLookupEnd":648.4000005722046,"domainLookupStart":648.4000005722046,"fetchStart":648.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":734.3000001907349,"responseEnd":764.3000001907349,"responseStart":762.7000007629395,"secureConnectionStart":648.4000005722046},{"duration":262.1000003814697,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":876,"connectEnd":876,"connectStart":876,"domainLookupEnd":876,"domainLookupStart":876,"fetchStart":876,"redirectEnd":0,"redirectStart":0,"requestStart":1107.4000005722046,"responseEnd":1138.1000003814697,"responseStart":1137.5,"secureConnectionStart":876}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":108,"responseStart":235,"responseEnd":268,"domLoading":238,"domInteractive":1074,"domContentLoadedEventStart":1074,"domContentLoadedEventEnd":1119,"domComplete":1447,"loadEventStart":1448,"loadEventEnd":1448,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1052},{"name":"bigPipe.sidebar-id.end","time":1052.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1053},{"name":"bigPipe.activity-panel-pipe-id.end","time":1054.5},{"name":"activityTabFullyLoaded","time":1138.4000005722046}],"measures":[],"correlationId":"7464209e9adba3","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":65,"dbReadsTimeInMs":8,"dbConnsTimeInMs":14,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
> The right design is that Rocksdb fixes itself, erases any corrupt file and continues.
I am looking at the code and this logic with ROCKSDB_CORRUPTED file was put there intentionally. Maybe there's some kind of error that requires user intervention?
I see that above that line, you should have got this text:
"RocksDB: There was a corruption detected in RockDB files. "
"Check error log emitted earlier for more details.");
Do you have it? Is there anything above that text that would give a clue about why RocksDB stopped?
Another place to check is the $datadir/#rocksdb/LOG file