This bug happens on the slave, when a binlog from a master ends with a
partially written event group (that has BEGIN but is missing COMMIT, eg).
Such partial event group occurs if the master crashes in the middle of writing
to the binlog.
The slave detects this when the restart format description event in the
following binlog file is received. A worker thread that is in the middle of
replicating the partial event group must be notified so that it can roll back
the transaction.
The bug was that this notification could be lost, depending on thread
scheduling. If lost, the worker thread would then wait indefinitely for the
rest of the transaction to arrive, and the SQL thread in turn would wait for
the worker thread to complete the rollback, deadlocking the slave.
This bug is likely what was seen by a user in a hard-to-reproduce hang.
It is also the cause of the sporadic failure in Buildbot in MDEV-7079.
- relates to
-
MDEV-7079
rpl.rpl_parallel_temptable fails sporadically in standard buildbot tests and persistently in valgrind builder
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
In Progress |
|
10s
|
1
|
In Progress |
|
Closed |
|
56m 26s
|
1
|
{"report":{"fcp":945.2999999523163,"ttfb":204.09999990463257,"pageVisibility":"visible","entityId":49002,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"124be457-901a-4ab4-a560-c83c403f4898","navigationType":0,"readyForUser":1010.8999998569489,"redirectCount":0,"resourceLoadedEnd":1011.2999999523163,"resourceLoadedStart":208.79999995231628,"resourceTiming":[{"duration":260.7000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":208.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":208.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":469.5,"responseStart":0,"secureConnectionStart":0},{"duration":260.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":209.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":469.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":269.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/b09d0d077992e4331b5f9ec0d3ec448c-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":209.20000004768372,"connectEnd":209.20000004768372,"connectStart":209.20000004768372,"domainLookupEnd":209.20000004768372,"domainLookupStart":209.20000004768372,"fetchStart":209.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":209.20000004768372,"responseEnd":478.59999990463257,"responseStart":478.59999990463257,"secureConnectionStart":209.20000004768372},{"duration":376.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/b47ab3df14096803b180217eb8482517-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/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":209.29999995231628,"connectEnd":209.29999995231628,"connectStart":209.29999995231628,"domainLookupEnd":209.29999995231628,"domainLookupStart":209.29999995231628,"fetchStart":209.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":209.29999995231628,"responseEnd":586,"responseStart":586,"secureConnectionStart":209.29999995231628},{"duration":380.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/6c569cbf8087ab04e40d0bef98627457-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":209.39999985694885,"connectEnd":209.39999985694885,"connectStart":209.39999985694885,"domainLookupEnd":209.39999985694885,"domainLookupStart":209.39999985694885,"fetchStart":209.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":209.39999985694885,"responseEnd":589.7000000476837,"responseStart":589.7000000476837,"secureConnectionStart":209.39999985694885},{"duration":380.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":209.5,"connectEnd":209.5,"connectStart":209.5,"domainLookupEnd":209.5,"domainLookupStart":209.5,"fetchStart":209.5,"redirectEnd":0,"redirectStart":0,"requestStart":209.5,"responseEnd":590.2999999523163,"responseStart":590.2999999523163,"secureConnectionStart":209.5},{"duration":381.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":209.59999990463257,"connectEnd":209.59999990463257,"connectStart":209.59999990463257,"domainLookupEnd":209.59999990463257,"domainLookupStart":209.59999990463257,"fetchStart":209.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":209.59999990463257,"responseEnd":590.7000000476837,"responseStart":590.5999999046326,"secureConnectionStart":209.59999990463257},{"duration":381.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":209.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":591.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":381.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":209.79999995231628,"connectEnd":209.79999995231628,"connectStart":209.79999995231628,"domainLookupEnd":209.79999995231628,"domainLookupStart":209.79999995231628,"fetchStart":209.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":209.79999995231628,"responseEnd":591.2000000476837,"responseStart":591.2000000476837,"secureConnectionStart":209.79999995231628},{"duration":381.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/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":209.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":591.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":381.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/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":210.09999990463257,"connectEnd":210.09999990463257,"connectStart":210.09999990463257,"domainLookupEnd":210.09999990463257,"domainLookupStart":210.09999990463257,"fetchStart":210.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":210.09999990463257,"responseEnd":591.8999998569489,"responseStart":591.8999998569489,"secureConnectionStart":210.09999990463257},{"duration":468.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":215.29999995231628,"connectEnd":215.29999995231628,"connectStart":215.29999995231628,"domainLookupEnd":215.29999995231628,"domainLookupStart":215.29999995231628,"fetchStart":215.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":215.29999995231628,"responseEnd":684.0999999046326,"responseStart":684.0999999046326,"secureConnectionStart":215.29999995231628},{"duration":776.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":215.59999990463257,"connectEnd":215.59999990463257,"connectStart":215.59999990463257,"domainLookupEnd":215.59999990463257,"domainLookupStart":215.59999990463257,"fetchStart":215.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":215.59999990463257,"responseEnd":992.5,"responseStart":992.5,"secureConnectionStart":215.59999990463257},{"duration":57.799999952316284,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":627.5999999046326,"connectEnd":627.5999999046326,"connectStart":627.5999999046326,"domainLookupEnd":627.5999999046326,"domainLookupStart":627.5999999046326,"fetchStart":627.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":627.5999999046326,"responseEnd":685.3999998569489,"responseStart":685.3999998569489,"secureConnectionStart":627.5999999046326},{"duration":146.29999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bsh/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":865,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":865,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1011.2999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":87,"responseStart":204,"responseEnd":215,"domLoading":207,"domInteractive":1059,"domContentLoadedEventStart":1059,"domContentLoadedEventEnd":1129,"domComplete":1811,"loadEventStart":1811,"loadEventEnd":1811,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1040.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1041.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1041.3999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":1042.5999999046326},{"name":"activityTabFullyLoaded","time":1140.8999998569489}],"measures":[],"correlationId":"f0ca2aa13ba2e0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":70,"dbReadsTimeInMs":16,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}