Type:
Bug
Priority:
Critical
Resolution:
Incomplete
Affects Version/s:
None
안녕하세요.
알 수 없는 원인으로 DB가 계속 kill 되는 issue가 있습니다.
==================================================================================================
* 운영 서버 환경 (DB01, DB02 동일)
OS : CentOS 7.8
CPU : 20
Memory : 30G
==================================================================================================
* 장애 발생 시점의 운영 DB 구성 환경
MMM
ㅣ
DB01(MariaDB 10.5.15, slave) <---- DB02(MariaDB 10.5.13, master)
==================================================================================================
* 장애 발생 history
1. 11.24 09:00경 장애 최초 장애 발생 (DB02 서버)
MMM에 의한 master <-> slave fail over 발생
as-is : db01(slave), db02(master) / to-be : db01(master), db02(slave)
----------------------------------------------------------------------------------
2. 11.25 09:00경 장애 발생 (DB02 서버)
mariaDB 재기동으로 해결
mariaDB 마이너 버전 업그레이드
DB01 : 10.5.15 => 10.5.18 / DB02 : 10.5.13 => 10.5.18
----------------------------------------------------------------------------------
3. 11.26 00:36경 장애발생 (DB02 서버)
데이터 깨짐으로 crash 발생하여 리커버리 시도 계속 반복
my.cnf 에 recovery 옵션 주어 기동 시도 - 실패
mariaDB 재설치 후 기동 시도 - 실패
mariaDB 초기화 후 DB01(master) dump 사용하여 DB02 재구성
==================================================================================================
현재 재구성 후 문제는 해소되었으나, 원인 파악을 위해 테스트 서버에 동일하게 구성하여 core dump를 생성하고 gdb 툴로 디버깅 하였습니다.
장애 발생 시 기록된 log와 core dump 디버깅 결과 파일 함께 첨부하도록 하겠습니다.
감사합니다.
duplicates
MDEV-21098
Crash in rec_get_offsets_func() due to invalid rec_get_status()
Closed
{"report":{"fcp":929.6000003814697,"ttfb":172.4000005722046,"pageVisibility":"visible","entityId":117929,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ed0bd1b1-e171-410e-927c-30e6655efb57","navigationType":0,"readyForUser":1017.5,"redirectCount":0,"resourceLoadedEnd":1074.8000001907349,"resourceLoadedStart":179.9000005722046,"resourceTiming":[{"duration":179.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":179.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.70000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":179,"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":181.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":360.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":194.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":181.4000005722046,"connectEnd":181.4000005722046,"connectStart":181.4000005722046,"domainLookupEnd":181.4000005722046,"domainLookupStart":181.4000005722046,"fetchStart":181.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":181.4000005722046,"responseEnd":375.70000076293945,"responseStart":375.70000076293945,"secureConnectionStart":181.4000005722046},{"duration":355.6000003814697,"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":181.60000038146973,"connectEnd":181.60000038146973,"connectStart":181.60000038146973,"domainLookupEnd":181.60000038146973,"domainLookupStart":181.60000038146973,"fetchStart":181.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":181.60000038146973,"responseEnd":537.2000007629395,"responseStart":537.2000007629395,"secureConnectionStart":181.60000038146973},{"duration":359.5999994277954,"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":181.9000005722046,"connectEnd":181.9000005722046,"connectStart":181.9000005722046,"domainLookupEnd":181.9000005722046,"domainLookupStart":181.9000005722046,"fetchStart":181.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":181.9000005722046,"responseEnd":541.5,"responseStart":541.5,"secureConnectionStart":181.9000005722046},{"duration":361,"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":182,"connectEnd":182,"connectStart":182,"domainLookupEnd":182,"domainLookupStart":182,"fetchStart":182,"redirectEnd":0,"redirectStart":0,"requestStart":182,"responseEnd":543,"responseStart":543,"secureConnectionStart":182},{"duration":361.29999923706055,"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":182.20000076293945,"connectEnd":182.20000076293945,"connectStart":182.20000076293945,"domainLookupEnd":182.20000076293945,"domainLookupStart":182.20000076293945,"fetchStart":182.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":182.20000076293945,"responseEnd":543.5,"responseStart":543.5,"secureConnectionStart":182.20000076293945},{"duration":366.4000005722046,"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":182.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":548.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":361.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":182.60000038146973,"connectEnd":182.60000038146973,"connectStart":182.60000038146973,"domainLookupEnd":182.60000038146973,"domainLookupStart":182.60000038146973,"fetchStart":182.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":182.60000038146973,"responseEnd":544.5,"responseStart":544.5,"secureConnectionStart":182.60000038146973},{"duration":366.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":182.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":549.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":362.70000076293945,"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":183,"connectEnd":183,"connectStart":183,"domainLookupEnd":183,"domainLookupStart":183,"fetchStart":183,"redirectEnd":0,"redirectStart":0,"requestStart":183,"responseEnd":545.7000007629395,"responseStart":545.7000007629395,"secureConnectionStart":183},{"duration":459.19999980926514,"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":183.9000005722046,"connectEnd":183.9000005722046,"connectStart":183.9000005722046,"domainLookupEnd":183.9000005722046,"domainLookupStart":183.9000005722046,"fetchStart":183.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":183.9000005722046,"responseEnd":643.1000003814697,"responseStart":643.1000003814697,"secureConnectionStart":183.9000005722046},{"duration":876.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":184,"connectEnd":184,"connectStart":184,"domainLookupEnd":184,"domainLookupStart":184,"fetchStart":184,"redirectEnd":0,"redirectStart":0,"requestStart":184,"responseEnd":1060.5,"responseStart":1060.5,"secureConnectionStart":184},{"duration":83.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":561.3000001907349,"connectEnd":561.3000001907349,"connectStart":561.3000001907349,"domainLookupEnd":561.3000001907349,"domainLookupStart":561.3000001907349,"fetchStart":561.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":561.3000001907349,"responseEnd":644.5,"responseStart":644.5,"secureConnectionStart":561.3000001907349},{"duration":227.5,"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":847.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":847.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1074.8000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":172,"responseEnd":173,"domLoading":178,"domInteractive":1084,"domContentLoadedEventStart":1084,"domContentLoadedEventEnd":1130,"domComplete":2501,"loadEventStart":2501,"loadEventEnd":2503,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1062.2000007629395},{"name":"bigPipe.sidebar-id.end","time":1063.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1063.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1066.1000003814697},{"name":"activityTabFullyLoaded","time":1143.7000007629395}],"measures":[],"correlationId":"78ff038750b386","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}