I got a strange behaviour with replication
Sometimes (I can't reproduce ) the replica stops IO_thread with next error in the log
2022-11-08 13:56:47 87893133 [ERROR] Read invalid event from master: 'Found invalid event in binary log', master could be corrupt but a more likely cause of this is a bug
|
2022-11-08 13:56:47 87893133 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Internal MariaDB error code: 1595
|
2022-11-08 13:56:47 87893133 [Note] Slave I/O thread exiting, read up to log 'mysqld-bin.202006', position 4; GTID position 11-11-48058108793
|
The errors always appear at position 4 , at the start of binlog.
The queries in 11-11-48058108793 and previous statement looks as correct insert/update requests
The replication begins to work after restart replications `stop slave; start slave`
I've attached config file
{"report":{"fcp":867.5,"ttfb":300.30000001192093,"pageVisibility":"visible","entityId":116590,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b71733f2-371d-4d31-ae2b-5daaef43cdaa","navigationType":0,"readyForUser":938.6000000238419,"redirectCount":0,"resourceLoadedEnd":778.1000000238419,"resourceLoadedStart":305.4000000357628,"resourceTiming":[{"duration":79.59999996423721,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":305.4000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":305.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":385,"responseStart":0,"secureConnectionStart":0},{"duration":80,"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":305.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":305.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":385.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":123.30000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":305.80000001192093,"connectEnd":305.80000001192093,"connectStart":305.80000001192093,"domainLookupEnd":305.80000001192093,"domainLookupStart":305.80000001192093,"fetchStart":305.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":389.5,"responseEnd":429.10000002384186,"responseStart":401,"secureConnectionStart":305.80000001192093},{"duration":132.4000000357628,"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":306,"connectEnd":306,"connectStart":306,"domainLookupEnd":306,"domainLookupStart":306,"fetchStart":306,"redirectEnd":0,"redirectStart":0,"requestStart":390.7000000476837,"responseEnd":438.4000000357628,"responseStart":405.5,"secureConnectionStart":306},{"duration":111.80000001192093,"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":306.10000002384186,"connectEnd":306.10000002384186,"connectStart":306.10000002384186,"domainLookupEnd":306.10000002384186,"domainLookupStart":306.10000002384186,"fetchStart":306.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":393.10000002384186,"responseEnd":417.9000000357628,"responseStart":417.30000001192093,"secureConnectionStart":306.10000002384186},{"duration":113.19999998807907,"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":306.30000001192093,"connectEnd":306.30000001192093,"connectStart":306.30000001192093,"domainLookupEnd":306.30000001192093,"domainLookupStart":306.30000001192093,"fetchStart":306.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":393.80000001192093,"responseEnd":419.5,"responseStart":419,"secureConnectionStart":306.30000001192093},{"duration":115.30000001192093,"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":306.5,"connectEnd":306.5,"connectStart":306.5,"domainLookupEnd":306.5,"domainLookupStart":306.5,"fetchStart":306.5,"redirectEnd":0,"redirectStart":0,"requestStart":396.80000001192093,"responseEnd":421.80000001192093,"responseStart":421.30000001192093,"secureConnectionStart":306.5},{"duration":88.39999997615814,"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":306.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":306.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":395,"responseStart":0,"secureConnectionStart":0},{"duration":118.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":306.80000001192093,"connectEnd":306.80000001192093,"connectStart":306.80000001192093,"domainLookupEnd":306.80000001192093,"domainLookupStart":306.80000001192093,"fetchStart":306.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":399,"responseEnd":425.5,"responseStart":424.9000000357628,"secureConnectionStart":306.80000001192093},{"duration":91.19999998807907,"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":306.9000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":306.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":398.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":117.60000002384186,"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":307,"connectEnd":408.9000000357628,"connectStart":408.9000000357628,"domainLookupEnd":408.9000000357628,"domainLookupStart":408.9000000357628,"fetchStart":307,"redirectEnd":0,"redirectStart":0,"requestStart":409.10000002384186,"responseEnd":424.60000002384186,"responseStart":422.60000002384186,"secureConnectionStart":408.9000000357628},{"duration":460.10000002384186,"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":317.80000001192093,"connectEnd":317.80000001192093,"connectStart":317.80000001192093,"domainLookupEnd":317.80000001192093,"domainLookupStart":317.80000001192093,"fetchStart":317.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":595.6000000238419,"responseEnd":777.9000000357628,"responseStart":771.5,"secureConnectionStart":317.80000001192093},{"duration":455.69999998807907,"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":322.4000000357628,"connectEnd":322.4000000357628,"connectStart":322.4000000357628,"domainLookupEnd":322.4000000357628,"domainLookupStart":322.4000000357628,"fetchStart":322.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":595.8000000119209,"responseEnd":778.1000000238419,"responseStart":772.3000000119209,"secureConnectionStart":322.4000000357628},{"duration":223.39999997615814,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":620.9000000357628,"connectEnd":620.9000000357628,"connectStart":620.9000000357628,"domainLookupEnd":620.9000000357628,"domainLookupStart":620.9000000357628,"fetchStart":620.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":809.4000000357628,"responseEnd":844.3000000119209,"responseStart":843.6000000238419,"secureConnectionStart":620.9000000357628},{"duration":204.30000001192093,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":845.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":845.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1049.4000000357628,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":111,"responseStart":300,"responseEnd":322,"domLoading":303,"domInteractive":1001,"domContentLoadedEventStart":1001,"domContentLoadedEventEnd":1044,"domComplete":1862,"loadEventStart":1862,"loadEventEnd":1863,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":974.2000000476837},{"name":"bigPipe.sidebar-id.end","time":975},{"name":"bigPipe.activity-panel-pipe-id.start","time":975.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":977.4000000357628},{"name":"activityTabFullyLoaded","time":1061.4000000357628}],"measures":[],"correlationId":"e7db090c26ed36","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":121,"dbReadsTimeInMs":16,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hi Elkin
Sorry for long silence
I've just switched master at the previous week (waited approve for a long time)
New master has 10.4.27 version and swap is turned off
On previous master I've resetup OS (centos8) , updated to 10.4.27 and turned off swap
Now it's working as replica .
I'll provide information if the error with replication appear again
And anyway I'll give a status in 1-2 weeks