In a regular Master-Slave configuration the Slave sql erros out a dup key.
The slave has been set up via backup restore and is claimed not to have
any local updates. The backup restore procedure is standard to include
`set global gtid_slave_pos=$GTID_from_backup` where the gtid value is
extracted from `xtrabackup_info`. Barring a mistake of the slave gtid state setting,
the following
``change master to master_host='xx.xx.xxx', master_port=zzzz master_user='user', master_password='xxxxx', master_use_gtid=slave_pos;
start slave;```
should've worked out without any issue.
However the slave stopped. More details can be found on the customer issue page.
Attachments
Issue Links
is duplicated by
MDEV-16001parallel replication appears in deadlock
When events of a big transaction are binlogged offsetting over 2GB from
the beginning of the log the semisync master's dump thread
lost such events.
The events were skipped by the Dump thread that found their skipping
status erroneously.
The current fixes make sure the skipping status is computed correctly.
The test verifies them simulating the 2GB offset.
Michael Widenius
added a comment - When events of a big transaction are binlogged offsetting over 2GB from
the beginning of the log the semisync master's dump thread
lost such events.
The events were skipped by the Dump thread that found their skipping
status erroneously.
The current fixes make sure the skipping status is computed correctly.
The test verifies them simulating the 2GB offset.
The 10.1 branch was patched as well with the commit id
9005108234ca97ce9e86935fd79ea0b3fb97ec43
The release can be seen from here:
git describe --contains 9005108234ca97ce9e86935fd79ea0b3fb97ec43
mariadb-10.1.32~66
Andrei Elkin
added a comment - - edited The 10.1 branch was patched as well with the commit id
9005108234ca97ce9e86935fd79ea0b3fb97ec43
The release can be seen from here:
git describe --contains 9005108234ca97ce9e86935fd79ea0b3fb97ec43
mariadb-10.1.32~66
People
Andrei Elkin
Andrei Elkin
Votes:
2Vote for this issue
Watchers:
6Start 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":783.7000000476837,"ttfb":123.79999995231628,"pageVisibility":"visible","entityId":64933,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"d5de3737-6aaf-4675-9a5b-6072a81d8949","navigationType":0,"readyForUser":848.2999999523163,"redirectCount":0,"resourceLoadedEnd":941.5999999046326,"resourceLoadedStart":136.5,"resourceTiming":[{"duration":194.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":136.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":136.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":331.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":194.59999990463257,"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":136.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":136.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":331.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":203.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":136.79999995231628,"connectEnd":136.79999995231628,"connectStart":136.79999995231628,"domainLookupEnd":136.79999995231628,"domainLookupStart":136.79999995231628,"fetchStart":136.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":136.79999995231628,"responseEnd":340.09999990463257,"responseStart":340.09999990463257,"secureConnectionStart":136.79999995231628},{"duration":298.89999985694885,"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":136.90000009536743,"connectEnd":136.90000009536743,"connectStart":136.90000009536743,"domainLookupEnd":136.90000009536743,"domainLookupStart":136.90000009536743,"fetchStart":136.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":136.90000009536743,"responseEnd":435.7999999523163,"responseStart":435.7999999523163,"secureConnectionStart":136.90000009536743},{"duration":302.09999990463257,"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":137,"connectEnd":137,"connectStart":137,"domainLookupEnd":137,"domainLookupStart":137,"fetchStart":137,"redirectEnd":0,"redirectStart":0,"requestStart":137,"responseEnd":439.09999990463257,"responseStart":439.09999990463257,"secureConnectionStart":137},{"duration":302.40000009536743,"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":137.09999990463257,"connectEnd":137.09999990463257,"connectStart":137.09999990463257,"domainLookupEnd":137.09999990463257,"domainLookupStart":137.09999990463257,"fetchStart":137.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":137.09999990463257,"responseEnd":439.5,"responseStart":439.5,"secureConnectionStart":137.09999990463257},{"duration":303,"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":137.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":137.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":440.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":302.59999990463257,"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":137.20000004768372,"connectEnd":137.20000004768372,"connectStart":137.20000004768372,"domainLookupEnd":137.20000004768372,"domainLookupStart":137.20000004768372,"fetchStart":137.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":137.20000004768372,"responseEnd":439.7999999523163,"responseStart":439.7999999523163,"secureConnectionStart":137.20000004768372},{"duration":302.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":137.29999995231628,"connectEnd":137.29999995231628,"connectStart":137.29999995231628,"domainLookupEnd":137.29999995231628,"domainLookupStart":137.29999995231628,"fetchStart":137.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":137.29999995231628,"responseEnd":440.2000000476837,"responseStart":440.2000000476837,"secureConnectionStart":137.29999995231628},{"duration":303.2000000476837,"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":137.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":137.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":440.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":303.10000014305115,"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":137.59999990463257,"connectEnd":137.59999990463257,"connectStart":137.59999990463257,"domainLookupEnd":137.59999990463257,"domainLookupStart":137.59999990463257,"fetchStart":137.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":137.59999990463257,"responseEnd":440.7000000476837,"responseStart":440.7000000476837,"secureConnectionStart":137.59999990463257},{"duration":415.59999990463257,"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":138.20000004768372,"connectEnd":138.20000004768372,"connectStart":138.20000004768372,"domainLookupEnd":138.20000004768372,"domainLookupStart":138.20000004768372,"fetchStart":138.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":138.20000004768372,"responseEnd":553.7999999523163,"responseStart":553.7999999523163,"secureConnectionStart":138.20000004768372},{"duration":791.5,"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":138.29999995231628,"connectEnd":138.29999995231628,"connectStart":138.29999995231628,"domainLookupEnd":138.29999995231628,"domainLookupStart":138.29999995231628,"fetchStart":138.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":138.29999995231628,"responseEnd":929.7999999523163,"responseStart":929.7999999523163,"secureConnectionStart":138.29999995231628},{"duration":66.79999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":487.40000009536743,"connectEnd":487.40000009536743,"connectStart":487.40000009536743,"domainLookupEnd":487.40000009536743,"domainLookupStart":487.40000009536743,"fetchStart":487.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":487.40000009536743,"responseEnd":554.2000000476837,"responseStart":554.2000000476837,"secureConnectionStart":487.40000009536743},{"duration":233.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":708.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":708.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":941.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":270,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":709,"connectEnd":709,"connectStart":709,"domainLookupEnd":709,"domainLookupStart":709,"fetchStart":709,"redirectEnd":0,"redirectStart":0,"requestStart":709,"responseEnd":979,"responseStart":979,"secureConnectionStart":709},{"duration":274.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":709.2999999523163,"connectEnd":709.2999999523163,"connectStart":709.2999999523163,"domainLookupEnd":709.2999999523163,"domainLookupStart":709.2999999523163,"fetchStart":709.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":709.2999999523163,"responseEnd":983.7000000476837,"responseStart":983.7000000476837,"secureConnectionStart":709.2999999523163},{"duration":274.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:issue-table-dnd/jira.webresources:issue-table-dnd.js","startTime":709.5999999046326,"connectEnd":709.5999999046326,"connectStart":709.5999999046326,"domainLookupEnd":709.5999999046326,"domainLookupStart":709.5999999046326,"fetchStart":709.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":709.5999999046326,"responseEnd":984.4000000953674,"responseStart":984.4000000953674,"secureConnectionStart":709.5999999046326},{"duration":207.40000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":777.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":777.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":985,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":6,"responseStart":124,"responseEnd":128,"domLoading":134,"domInteractive":949,"domContentLoadedEventStart":949,"domContentLoadedEventEnd":985,"domComplete":1345,"loadEventStart":1345,"loadEventEnd":1345,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":931.2999999523163},{"name":"bigPipe.sidebar-id.end","time":932},{"name":"bigPipe.activity-panel-pipe-id.start","time":932.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":933.2999999523163},{"name":"activityTabFullyLoaded","time":998.7000000476837}],"measures":[],"correlationId":"ff0db279d4a6eb","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":70,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
When events of a big transaction are binlogged offsetting over 2GB from
the beginning of the log the semisync master's dump thread
lost such events.
The events were skipped by the Dump thread that found their skipping
status erroneously.
The current fixes make sure the skipping status is computed correctly.
The test verifies them simulating the 2GB offset.