MariaDB slave stops with following errors.
180511 11:07:58 [ERROR] Slave I/O: Unexpected master's heartbeat data: heartbeat is not compatible with local info;the event's data: log_file_name mysql-bin.000009 log_pos 1054262041, Error_code: 1623
180511 11:07:58 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Error_code: 1595
180511 11:07:58 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.000009', position 1053640539
I am using Master-Master and Master-Slave Replication using MariaDB servers. I am replicating all Databases on Master-Master Replication but there is only one databse replicating on slave servers.Slave servers ignores the query from another database which is not replicating there. All other Binlogs which from not replicating skips by slave servers. We have heavy traffic on Master server. Slaves only for select purpose. Master databse server's system load goes upto 10%.
NOTE: All the slaves are connected using Gigabit Ethernet(Private Network).
We are using 24 cores CPU and 32GB RAM on master and 16 cores CPU and 24GB RAM on each slave.
I am using following version of MariaDB server on my 3 servers
mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
Operating system
CentOS Linux release 7.4.1708 (Core)
Following is diagram of replication
- relates to
-
MDEV-29981
Replica stops with "Found invalid event in binary log"
-
-
Confirmed
{"report":{"fcp":1251.5,"ttfb":262.2999997138977,"pageVisibility":"visible","entityId":67388,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"89c7834b-7e87-4d1a-b435-6fd29d28dc90","navigationType":0,"readyForUser":1372,"redirectCount":0,"resourceLoadedEnd":1297.6999998092651,"resourceLoadedStart":268.69999980926514,"resourceTiming":[{"duration":430.7000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":268.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":268.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":430.69999980926514,"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":269.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":269.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":493.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":269.2999997138977,"connectEnd":269.2999997138977,"connectStart":269.2999997138977,"domainLookupEnd":269.2999997138977,"domainLookupStart":269.2999997138977,"fetchStart":269.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":269.2999997138977,"responseEnd":762.9000000953674,"responseStart":762.9000000953674,"secureConnectionStart":269.2999997138977},{"duration":545.6999998092651,"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":269.5,"connectEnd":269.5,"connectStart":269.5,"domainLookupEnd":269.5,"domainLookupStart":269.5,"fetchStart":269.5,"redirectEnd":0,"redirectStart":0,"requestStart":269.5,"responseEnd":815.1999998092651,"responseStart":815.1999998092651,"secureConnectionStart":269.5},{"duration":549.3000001907349,"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":269.69999980926514,"connectEnd":269.69999980926514,"connectStart":269.69999980926514,"domainLookupEnd":269.69999980926514,"domainLookupStart":269.69999980926514,"fetchStart":269.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":269.69999980926514,"responseEnd":819,"responseStart":819,"secureConnectionStart":269.69999980926514},{"duration":549.6999998092651,"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":269.90000009536743,"connectEnd":269.90000009536743,"connectStart":269.90000009536743,"domainLookupEnd":269.90000009536743,"domainLookupStart":269.90000009536743,"fetchStart":269.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":269.90000009536743,"responseEnd":819.5999999046326,"responseStart":819.5999999046326,"secureConnectionStart":269.90000009536743},{"duration":550.1999998092651,"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":270.09999990463257,"connectEnd":270.09999990463257,"connectStart":270.09999990463257,"domainLookupEnd":270.09999990463257,"domainLookupStart":270.09999990463257,"fetchStart":270.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":270.09999990463257,"responseEnd":820.2999997138977,"responseStart":820.2999997138977,"secureConnectionStart":270.09999990463257},{"duration":637.2000002861023,"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":270.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":270.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":907.5,"responseStart":0,"secureConnectionStart":0},{"duration":550.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":270.40000009536743,"connectEnd":270.40000009536743,"connectStart":270.40000009536743,"domainLookupEnd":270.40000009536743,"domainLookupStart":270.40000009536743,"fetchStart":270.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":270.40000009536743,"responseEnd":821,"responseStart":821,"secureConnectionStart":270.40000009536743},{"duration":637.0999999046326,"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":270.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":270.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":907.6999998092651,"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":270.69999980926514,"connectEnd":270.69999980926514,"connectStart":270.69999980926514,"domainLookupEnd":270.69999980926514,"domainLookupStart":270.69999980926514,"fetchStart":270.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":270.69999980926514,"responseEnd":822,"responseStart":822,"secureConnectionStart":270.69999980926514},{"duration":1001.6999998092651,"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":271.59999990463257,"connectEnd":271.59999990463257,"connectStart":271.59999990463257,"domainLookupEnd":271.59999990463257,"domainLookupStart":271.59999990463257,"fetchStart":271.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":271.59999990463257,"responseEnd":1273.2999997138977,"responseStart":1273.2999997138977,"secureConnectionStart":271.59999990463257},{"duration":997.5999999046326,"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":276.19999980926514,"connectEnd":276.19999980926514,"connectStart":276.19999980926514,"domainLookupEnd":276.19999980926514,"domainLookupStart":276.19999980926514,"fetchStart":276.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":276.19999980926514,"responseEnd":1273.7999997138977,"responseStart":1273.7999997138977,"secureConnectionStart":276.19999980926514},{"duration":92,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":919.2999997138977,"connectEnd":919.2999997138977,"connectStart":919.2999997138977,"domainLookupEnd":919.2999997138977,"domainLookupStart":919.2999997138977,"fetchStart":919.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":919.2999997138977,"responseEnd":1011.2999997138977,"responseStart":1011.2999997138977,"secureConnectionStart":919.2999997138977},{"duration":94.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":1198.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1198.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1292.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":90.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1199.1999998092651,"connectEnd":1199.1999998092651,"connectStart":1199.1999998092651,"domainLookupEnd":1199.1999998092651,"domainLookupStart":1199.1999998092651,"fetchStart":1199.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1199.1999998092651,"responseEnd":1290.0999999046326,"responseStart":1290.0999999046326,"secureConnectionStart":1199.1999998092651},{"duration":168.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1240,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1240,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1408.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":98.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1199.5999999046326,"connectEnd":1199.5999999046326,"connectStart":1199.5999999046326,"domainLookupEnd":1199.5999999046326,"domainLookupStart":1199.5999999046326,"fetchStart":1199.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1199.5999999046326,"responseEnd":1297.6999998092651,"responseStart":1297.6999998092651,"secureConnectionStart":1199.5999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":74,"responseStart":262,"responseEnd":269,"domLoading":266,"domInteractive":1464,"domContentLoadedEventStart":1464,"domContentLoadedEventEnd":1528,"domComplete":1849,"loadEventStart":1849,"loadEventEnd":1849,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1417},{"name":"bigPipe.sidebar-id.end","time":1417.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1417.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1419.9000000953674},{"name":"activityTabFullyLoaded","time":1546.2999997138977}],"measures":[],"correlationId":"64cc093e51b7b4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":129,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hello Andrei,
Can you please review the fix for
MDEV-16146.Patch: https://github.com/MariaDB/server/commit/7c2ea6b963f8ee3894e25e1f479f9d09b5b766b9
Buildbot: http://buildbot.askmonty.org/buildbot/grid?category=main&branch=bb-10.5-sujatha
At present patch is implemented for 10.5 it needs to be implemented for all GA versions.
Thank you.