fatalHandler() deliberately kills the process using it, need to write a version of it that doesn't do that to use in SM. I think, on all fatal signals, SM has to attempt a shutdown before dying.
To test send various signals with TERM default action (i.e. SIGHUP, SIGINT, SIGTERM). This should result in StorageManager logging a clean shutdown. Finishing with the log line StorageManager Shutdown Complete.
Before these were calling a function that killed the program and dumped a trace file before the shutdown could complete.
Ben Thompson (Inactive)
added a comment - To test send various signals with TERM default action (i.e. SIGHUP, SIGINT, SIGTERM). This should result in StorageManager logging a clean shutdown. Finishing with the log line StorageManager Shutdown Complete.
Before these were calling a function that killed the program and dumped a trace file before the shutdown could complete.
Build verified: 1.4.3-1 source
server
commit cbfa2cfc48da12a13957d06c59e6a7651b77aa6a
engine
commit cf668897eff4395cc929abffb0cd87df0305c88b
verified shutdown message in debug.log file.
Daniel Lee (Inactive)
added a comment - Build verified: 1.4.3-1 source
server
commit cbfa2cfc48da12a13957d06c59e6a7651b77aa6a
engine
commit cf668897eff4395cc929abffb0cd87df0305c88b
verified shutdown message in debug.log file.
People
Daniel Lee (Inactive)
Patrick LeBlanc (Inactive)
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":2922.800000190735,"ttfb":207.90000009536743,"pageVisibility":"visible","entityId":82766,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"97e861dc-9bbf-424c-b82b-a548ca1a43f3","navigationType":0,"readyForUser":2529.5999999046326,"redirectCount":0,"resourceLoadedEnd":1945.0999999046326,"resourceLoadedStart":301.5,"resourceTiming":[{"duration":270.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":301.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":301.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":571.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":280.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":301.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":301.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":581.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1211.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":302,"connectEnd":302,"connectStart":302,"domainLookupEnd":302,"domainLookupStart":302,"fetchStart":302,"redirectEnd":0,"redirectStart":0,"requestStart":592.4000000953674,"responseEnd":1513.9000000953674,"responseStart":705.4000000953674,"secureConnectionStart":302},{"duration":1643,"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":302.09999990463257,"connectEnd":302.09999990463257,"connectStart":302.09999990463257,"domainLookupEnd":302.09999990463257,"domainLookupStart":302.09999990463257,"fetchStart":302.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":592.8000001907349,"responseEnd":1945.0999999046326,"responseStart":748,"secureConnectionStart":302.09999990463257},{"duration":505.3999996185303,"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":302.30000019073486,"connectEnd":302.30000019073486,"connectStart":302.30000019073486,"domainLookupEnd":302.30000019073486,"domainLookupStart":302.30000019073486,"fetchStart":302.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":592.9000000953674,"responseEnd":807.6999998092651,"responseStart":783.4000000953674,"secureConnectionStart":302.30000019073486},{"duration":434,"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":302.5,"connectEnd":302.5,"connectStart":302.5,"domainLookupEnd":302.5,"domainLookupStart":302.5,"fetchStart":302.5,"redirectEnd":0,"redirectStart":0,"requestStart":593.3000001907349,"responseEnd":736.5,"responseStart":655,"secureConnectionStart":302.5},{"duration":280.6000003814697,"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":302.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":302.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":583.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":501.6000003814697,"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":302.69999980926514,"connectEnd":302.69999980926514,"connectStart":302.69999980926514,"domainLookupEnd":302.69999980926514,"domainLookupStart":302.69999980926514,"fetchStart":302.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":593.4000000953674,"responseEnd":804.3000001907349,"responseStart":749.9000000953674,"secureConnectionStart":302.69999980926514},{"duration":433.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":303,"connectEnd":303,"connectStart":303,"domainLookupEnd":303,"domainLookupStart":303,"fetchStart":303,"redirectEnd":0,"redirectStart":0,"requestStart":593.5,"responseEnd":736.9000000953674,"responseStart":695.1999998092651,"secureConnectionStart":303},{"duration":280.40000009536743,"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":303.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":303.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":583.5,"responseStart":0,"secureConnectionStart":0},{"duration":551.3000001907349,"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":303.19999980926514,"connectEnd":303.19999980926514,"connectStart":303.19999980926514,"domainLookupEnd":303.19999980926514,"domainLookupStart":303.19999980926514,"fetchStart":303.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":593.6999998092651,"responseEnd":854.5,"responseStart":792.0999999046326,"secureConnectionStart":303.19999980926514},{"duration":1595.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":348.30000019073486,"connectEnd":348.30000019073486,"connectStart":348.30000019073486,"domainLookupEnd":348.30000019073486,"domainLookupStart":348.30000019073486,"fetchStart":348.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":1166.9000000953674,"responseEnd":1943.8000001907349,"responseStart":1887.4000000953674,"secureConnectionStart":348.30000019073486},{"duration":1595.4000000953674,"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":348.40000009536743,"connectEnd":348.40000009536743,"connectStart":348.40000009536743,"domainLookupEnd":348.40000009536743,"domainLookupStart":348.40000009536743,"fetchStart":348.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":1379.6999998092651,"responseEnd":1943.8000001907349,"responseStart":1889.3000001907349,"secureConnectionStart":348.40000009536743},{"duration":336.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1835.3000001907349,"connectEnd":1835.3000001907349,"connectStart":1835.3000001907349,"domainLookupEnd":1835.3000001907349,"domainLookupStart":1835.3000001907349,"fetchStart":1835.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":2081,"responseEnd":2171.800000190735,"responseStart":2170.4000000953674,"secureConnectionStart":1835.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":53,"responseStart":208,"responseEnd":341,"domLoading":229,"domInteractive":2591,"domContentLoadedEventStart":2591,"domContentLoadedEventEnd":2641,"domComplete":3625,"loadEventStart":3625,"loadEventEnd":3625,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2572},{"name":"bigPipe.sidebar-id.end","time":2572.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":2572.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2574},{"name":"activityTabFullyLoaded","time":2651.5999999046326}],"measures":[],"correlationId":"8611632a36396b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
To test send various signals with TERM default action (i.e. SIGHUP, SIGINT, SIGTERM). This should result in StorageManager logging a clean shutdown. Finishing with the log line StorageManager Shutdown Complete.
Before these were calling a function that killed the program and dumped a trace file before the shutdown could complete.