Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.6.12 , 10.8.7 , 10.9.5 , 10.10.3 , 10.11.2 , 10.7(EOL) , 11.0(EOL) , 11.1(EOL) , 11.2(EOL) , 11.3(EOL) , 11.4 , 11.5(EOL)
In MDEV-30400 the function btr_cur_t::search_leaf() replaced the function btr_cur_search_to_nth_level() for the case level=0 . That code was revised in MDEV-29385 with regard to the function btr_cur_need_opposite_intention() .
Upon reaching the leaf level, one call to btr_cur_need_opposite_intention() is misplaced. Before these changes, btr_cur_search_to_nth_level() would invoke btr_cur_need_opposite_intention() after positioning page_cur_t::rec on the current page. As a result of the misplaced call, the calls to page_rec_is_last() and page_rec_is_first() would never seem to hold, because the page and rec would be within different buffer pool blocks.
The purpose of the function btr_cur_need_opposite_intention() is to detect when a page split could occur. As far as I can tell, this bug could cause a hang similar to the ones that the fix of MDEV-29835 attempted to address. Possibly, this bug could explain MDEV-31815 .
{"report":{"fcp":748.7000000476837,"ttfb":147.90000009536743,"pageVisibility":"visible","entityId":129411,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"a1c7826f-ab24-41ba-9df7-d9ef96ab3a5d","navigationType":0,"readyForUser":803.4000000953674,"redirectCount":0,"resourceLoadedEnd":1057.5999999046326,"resourceLoadedStart":153.29999995231628,"resourceTiming":[{"duration":138.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":153.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":153.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":291.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":138.30000019073486,"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":153.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":153.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":291.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":191.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":153.70000004768372,"connectEnd":153.70000004768372,"connectStart":153.70000004768372,"domainLookupEnd":153.70000004768372,"domainLookupStart":153.70000004768372,"fetchStart":153.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":153.70000004768372,"responseEnd":344.90000009536743,"responseStart":344.90000009536743,"secureConnectionStart":153.70000004768372},{"duration":267.2999999523163,"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":153.79999995231628,"connectEnd":153.79999995231628,"connectStart":153.79999995231628,"domainLookupEnd":153.79999995231628,"domainLookupStart":153.79999995231628,"fetchStart":153.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":153.79999995231628,"responseEnd":421.09999990463257,"responseStart":421.09999990463257,"secureConnectionStart":153.79999995231628},{"duration":270.89999985694885,"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":153.90000009536743,"connectEnd":153.90000009536743,"connectStart":153.90000009536743,"domainLookupEnd":153.90000009536743,"domainLookupStart":153.90000009536743,"fetchStart":153.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":153.90000009536743,"responseEnd":424.7999999523163,"responseStart":424.7999999523163,"secureConnectionStart":153.90000009536743},{"duration":271.2000000476837,"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":154,"connectEnd":154,"connectStart":154,"domainLookupEnd":154,"domainLookupStart":154,"fetchStart":154,"redirectEnd":0,"redirectStart":0,"requestStart":154,"responseEnd":425.2000000476837,"responseStart":425.2000000476837,"secureConnectionStart":154},{"duration":271.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":154.09999990463257,"connectEnd":154.09999990463257,"connectStart":154.09999990463257,"domainLookupEnd":154.09999990463257,"domainLookupStart":154.09999990463257,"fetchStart":154.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":154.09999990463257,"responseEnd":425.5,"responseStart":425.5,"secureConnectionStart":154.09999990463257},{"duration":271.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":154.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":154.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":271.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":154.29999995231628,"connectEnd":154.29999995231628,"connectStart":154.29999995231628,"domainLookupEnd":154.29999995231628,"domainLookupStart":154.29999995231628,"fetchStart":154.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":154.29999995231628,"responseEnd":425.90000009536743,"responseStart":425.90000009536743,"secureConnectionStart":154.29999995231628},{"duration":271.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":154.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":154.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":426.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":272,"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":154.5,"connectEnd":154.5,"connectStart":154.5,"domainLookupEnd":154.5,"domainLookupStart":154.5,"fetchStart":154.5,"redirectEnd":0,"redirectStart":0,"requestStart":154.5,"responseEnd":426.5,"responseStart":426.5,"secureConnectionStart":154.5},{"duration":717.8999998569489,"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":155.40000009536743,"connectEnd":155.40000009536743,"connectStart":155.40000009536743,"domainLookupEnd":155.40000009536743,"domainLookupStart":155.40000009536743,"fetchStart":155.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":155.40000009536743,"responseEnd":873.2999999523163,"responseStart":873.2999999523163,"secureConnectionStart":155.40000009536743},{"duration":902.1999998092651,"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":155.40000009536743,"connectEnd":155.40000009536743,"connectStart":155.40000009536743,"domainLookupEnd":155.40000009536743,"domainLookupStart":155.40000009536743,"fetchStart":155.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":155.40000009536743,"responseEnd":1057.5999999046326,"responseStart":1057.5,"secureConnectionStart":155.40000009536743},{"duration":499.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":557.5999999046326,"connectEnd":557.5999999046326,"connectStart":557.5999999046326,"domainLookupEnd":557.5999999046326,"domainLookupStart":557.5999999046326,"fetchStart":557.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":557.5999999046326,"responseEnd":1057.0999999046326,"responseStart":1057.0999999046326,"secureConnectionStart":557.5999999046326},{"duration":330.10000014305115,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":728.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":728.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1058.7000000476837,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":7,"responseStart":148,"responseEnd":149,"domLoading":151,"domInteractive":1098,"domContentLoadedEventStart":1098,"domContentLoadedEventEnd":1132,"domComplete":1659,"loadEventStart":1659,"loadEventEnd":1660,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1066.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1067.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1067.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1070.0999999046326},{"name":"activityTabFullyLoaded","time":1135}],"measures":[],"correlationId":"3dcd262d4e5d68","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":20,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}