When stopped, either by STOP SLAVE, shutdown, or by error, the slave IO thread prints a message like
160615 10:27:51 [Note] Slave I/O thread exiting, read up to log 'binlog.026989', position 23827636; GTID position 0-197135068-997873951
|
The SQL thread also has code for this, but it is not in the error handling part of the thread, so it is only reached when the main thread loop terminates without error ... which doesn't even seem to happen on
{STOP SLAVE SQL_THREAD}
The log message code should be moved down to the error handling part of the main SQL thread function, similar to how it is handled in the IO thread
{"report":{"fcp":1039.5999999046326,"ttfb":170.89999985694885,"pageVisibility":"visible","entityId":57168,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c08de150-fb03-46f9-901f-921544cce81d","navigationType":0,"readyForUser":1089.0999999046326,"redirectCount":0,"resourceLoadedEnd":1084.8999998569489,"resourceLoadedStart":176.09999990463257,"resourceTiming":[{"duration":393.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":176.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":176.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":570,"responseStart":0,"secureConnectionStart":0},{"duration":393.60000014305115,"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":176.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":176.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":570,"responseStart":0,"secureConnectionStart":0},{"duration":402.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":176.59999990463257,"connectEnd":176.59999990463257,"connectStart":176.59999990463257,"domainLookupEnd":176.59999990463257,"domainLookupStart":176.59999990463257,"fetchStart":176.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":176.59999990463257,"responseEnd":579.3999998569489,"responseStart":579.2999999523163,"secureConnectionStart":176.59999990463257},{"duration":478.90000009536743,"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":176.59999990463257,"connectEnd":176.59999990463257,"connectStart":176.59999990463257,"domainLookupEnd":176.59999990463257,"domainLookupStart":176.59999990463257,"fetchStart":176.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":176.59999990463257,"responseEnd":655.5,"responseStart":655.5,"secureConnectionStart":176.59999990463257},{"duration":482.59999990463257,"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":176.70000004768372,"connectEnd":176.70000004768372,"connectStart":176.70000004768372,"domainLookupEnd":176.70000004768372,"domainLookupStart":176.70000004768372,"fetchStart":176.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":176.70000004768372,"responseEnd":659.2999999523163,"responseStart":659.2999999523163,"secureConnectionStart":176.70000004768372},{"duration":482.90000009536743,"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":176.89999985694885,"connectEnd":176.89999985694885,"connectStart":176.89999985694885,"domainLookupEnd":176.89999985694885,"domainLookupStart":176.89999985694885,"fetchStart":176.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":176.89999985694885,"responseEnd":659.7999999523163,"responseStart":659.7999999523163,"secureConnectionStart":176.89999985694885},{"duration":483.30000019073486,"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":176.89999985694885,"connectEnd":176.89999985694885,"connectStart":176.89999985694885,"domainLookupEnd":176.89999985694885,"domainLookupStart":176.89999985694885,"fetchStart":176.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":176.89999985694885,"responseEnd":660.2000000476837,"responseStart":660.2000000476837,"secureConnectionStart":176.89999985694885},{"duration":483.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":177,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":660.5,"responseStart":0,"secureConnectionStart":0},{"duration":483.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":177.09999990463257,"connectEnd":177.09999990463257,"connectStart":177.09999990463257,"domainLookupEnd":177.09999990463257,"domainLookupStart":177.09999990463257,"fetchStart":177.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":177.09999990463257,"responseEnd":660.5999999046326,"responseStart":660.5999999046326,"secureConnectionStart":177.09999990463257},{"duration":483.59999990463257,"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":177.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":660.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":483.7000000476837,"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":177.39999985694885,"connectEnd":177.39999985694885,"connectStart":177.39999985694885,"domainLookupEnd":177.39999985694885,"domainLookupStart":177.39999985694885,"fetchStart":177.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":177.39999985694885,"responseEnd":661.0999999046326,"responseStart":661.0999999046326,"secureConnectionStart":177.39999985694885},{"duration":601.7000000476837,"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":182.29999995231628,"connectEnd":182.29999995231628,"connectStart":182.29999995231628,"domainLookupEnd":182.29999995231628,"domainLookupStart":182.29999995231628,"fetchStart":182.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":182.29999995231628,"responseEnd":784,"responseStart":784,"secureConnectionStart":182.29999995231628},{"duration":902.3999998569489,"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":182.5,"connectEnd":182.5,"connectStart":182.5,"domainLookupEnd":182.5,"domainLookupStart":182.5,"fetchStart":182.5,"redirectEnd":0,"redirectStart":0,"requestStart":182.5,"responseEnd":1084.8999998569489,"responseStart":1084.8999998569489,"secureConnectionStart":182.5},{"duration":289.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":794.7000000476837,"connectEnd":794.7000000476837,"connectStart":794.7000000476837,"domainLookupEnd":794.7000000476837,"domainLookupStart":794.7000000476837,"fetchStart":794.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":794.7000000476837,"responseEnd":1084.3999998569489,"responseStart":1084.3999998569489,"secureConnectionStart":794.7000000476837}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":53,"responseStart":171,"responseEnd":176,"domLoading":175,"domInteractive":1140,"domContentLoadedEventStart":1140,"domContentLoadedEventEnd":1178,"domComplete":1933,"loadEventStart":1933,"loadEventEnd":1934,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1122.3999998569489},{"name":"bigPipe.sidebar-id.end","time":1123.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1123.3999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":1125.7000000476837},{"name":"activityTabFullyLoaded","time":1187}],"measures":[],"correlationId":"67bbbfc09cbecc","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":69,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}