Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
None
Component/s:
None
In GTID mode, we should not update the master.info file after every
transaction.
Such update is pointless (we will delete the relay logs in any case at next
slave start), and decreases performance. But the more serious issue is that if
we crash during such update, we might end up with a partially written, and
thus corrupt, state. This could in the worst case prevent slave restart
(eg. if using_gtid flag got cleared), and thus breaks crash-safe slave promises.
In addition, when we do write master.info, it could happen that the file gets
shorter. In this case we need to make sure we do not leave old junk at the end
of the file. Probably best is to just leave an end marker, beyond which no more
data is valid.
{"report":{"fcp":1273,"ttfb":477.60000002384186,"pageVisibility":"visible","entityId":25510,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"eca1a1c0-7a01-43a1-87fd-622110272028","navigationType":0,"readyForUser":1321,"redirectCount":0,"resourceLoadedEnd":1675.8999999761581,"resourceLoadedStart":483.10000002384186,"resourceTiming":[{"duration":331.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":483.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":483.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":814.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":331.2000000476837,"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":483.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":483.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":814.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":341.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":483.60000002384186,"connectEnd":483.60000002384186,"connectStart":483.60000002384186,"domainLookupEnd":483.60000002384186,"domainLookupStart":483.60000002384186,"fetchStart":483.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":483.60000002384186,"responseEnd":825.3000000715256,"responseStart":825.3000000715256,"secureConnectionStart":483.60000002384186},{"duration":367.5,"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":483.60000002384186,"connectEnd":483.60000002384186,"connectStart":483.60000002384186,"domainLookupEnd":483.60000002384186,"domainLookupStart":483.60000002384186,"fetchStart":483.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":483.60000002384186,"responseEnd":851.1000000238419,"responseStart":851.1000000238419,"secureConnectionStart":483.60000002384186},{"duration":371.1999999284744,"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":483.8000000715256,"connectEnd":483.8000000715256,"connectStart":483.8000000715256,"domainLookupEnd":483.8000000715256,"domainLookupStart":483.8000000715256,"fetchStart":483.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":483.8000000715256,"responseEnd":855,"responseStart":855,"secureConnectionStart":483.8000000715256},{"duration":371.8000000715256,"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":483.89999997615814,"connectEnd":483.89999997615814,"connectStart":483.89999997615814,"domainLookupEnd":483.89999997615814,"domainLookupStart":483.89999997615814,"fetchStart":483.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":483.89999997615814,"responseEnd":855.7000000476837,"responseStart":855.7000000476837,"secureConnectionStart":483.89999997615814},{"duration":372.40000009536743,"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":483.89999997615814,"connectEnd":483.89999997615814,"connectStart":483.89999997615814,"domainLookupEnd":483.89999997615814,"domainLookupStart":483.89999997615814,"fetchStart":483.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":483.89999997615814,"responseEnd":856.3000000715256,"responseStart":856.3000000715256,"secureConnectionStart":483.89999997615814},{"duration":373.7000000476837,"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":484,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":484,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":857.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":373.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":484.10000002384186,"connectEnd":484.10000002384186,"connectStart":484.10000002384186,"domainLookupEnd":484.10000002384186,"domainLookupStart":484.10000002384186,"fetchStart":484.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":484.10000002384186,"responseEnd":857.6000000238419,"responseStart":857.6000000238419,"secureConnectionStart":484.10000002384186},{"duration":381.7999999523163,"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":484.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":484.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":866,"responseStart":0,"secureConnectionStart":0},{"duration":374.2000000476837,"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":484.39999997615814,"connectEnd":484.39999997615814,"connectStart":484.39999997615814,"domainLookupEnd":484.39999997615814,"domainLookupStart":484.39999997615814,"fetchStart":484.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":484.39999997615814,"responseEnd":858.6000000238419,"responseStart":858.6000000238419,"secureConnectionStart":484.39999997615814},{"duration":1110.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":485,"connectEnd":485,"connectStart":485,"domainLookupEnd":485,"domainLookupStart":485,"fetchStart":485,"redirectEnd":0,"redirectStart":0,"requestStart":485,"responseEnd":1595.7000000476837,"responseStart":1595.7000000476837,"secureConnectionStart":485},{"duration":1190.7999999523163,"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":485.10000002384186,"connectEnd":485.10000002384186,"connectStart":485.10000002384186,"domainLookupEnd":485.10000002384186,"domainLookupStart":485.10000002384186,"fetchStart":485.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":485.10000002384186,"responseEnd":1675.8999999761581,"responseStart":1675.8999999761581,"secureConnectionStart":485.10000002384186},{"duration":590.8999999761581,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1070.2000000476837,"connectEnd":1070.2000000476837,"connectStart":1070.2000000476837,"domainLookupEnd":1070.2000000476837,"domainLookupStart":1070.2000000476837,"fetchStart":1070.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1070.2000000476837,"responseEnd":1661.1000000238419,"responseStart":1661.1000000238419,"secureConnectionStart":1070.2000000476837},{"duration":444.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1250.3000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1250.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1694.3999999761581,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":347,"responseStart":477,"responseEnd":480,"domLoading":481,"domInteractive":1706,"domContentLoadedEventStart":1706,"domContentLoadedEventEnd":1742,"domComplete":2808,"loadEventStart":2808,"loadEventEnd":2810,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1689.1000000238419},{"name":"bigPipe.sidebar-id.end","time":1689.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":1690.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1692.6000000238419},{"name":"activityTabFullyLoaded","time":1747.7000000476837}],"measures":[],"correlationId":"ac7a6f7aff1b92","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":70,"dbReadsTimeInMs":8,"dbConnsTimeInMs":15,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}