A debug assertion could fail in the function trx_undo_header_create() with the following stack trace:
10.5 ff64152bc72d985862ab729a2cf6d6167531b1ed
|
#7 0x00007fc33add77d2 in __assert_fail ()
|
from /dev/shm/avosusi/lib64/libc.so.6
|
#8 0x00000000011a4f39 in mtr_t::memcpy<(mtr_t::write_type)0> (
|
this=0x7fc33045d8d0, b=..., dest=0x7fc331b6465c, str=0x7fc33045d7a8, len=4)
|
at /my/maria-10.5/storage/innobase/include/mtr0log.h:496
|
#9 0x000000000131ffce in trx_undo_header_create (undo_page=0x7fc33161a0a0,
|
trx_id=1221, mtr=0x7fc33045d8d0)
|
at /my/maria-10.5/storage/innobase/trx/trx0undo.cc:471
|
#10 0x00000000013225f7 in trx_undo_reuse_cached (trx=0x7fc332607620,
|
rseg=0x4e76f78, pundo=0x7fc332608650, mtr=0x7fc33045d8d0)
|
at /my/maria-10.5/storage/innobase/trx/trx0undo.cc:1112
|
#11 0x0000000001322d04 in trx_undo_assign_low (trx=0x7fc332607620,
|
rseg=0x4e76f78, undo=0x7fc332608650, err=0x7fc33045d8cc,
|
mtr=0x7fc33045d8d0) at /my/maria-10.5/storage/innobase/trx/trx0undo.cc:1225
|
#12 0x00000000012fdc49 in trx_undo_report_row_operation (thr=0x7fc27003d338,
|
index=0x7fc270053d00, clust_entry=0x7fc270025ac0, update=0x0, cmpl_info=0,
|
rec=0x0, offsets=0x0, roll_ptr=0x7fc33045de98)
|
at /my/maria-10.5/storage/innobase/trx/trx0rec.cc:1992
|
Because InnoDB is not freeing undo pages to the normal free-page management, old undo log pages can be reused. Due to that, it is possible (but unlikely) that the fields TRX_UNDO_NEEDS_PURGE and TRX_UNDO_LOG_START relative to the free offset that is stored at TRX_UNDO_PAGE_HDR + TRX_UNDO_PAGE_START already have the correct value. Hence, we must pass the mtr_t::OPT template parameter to silence the debug assertion.
Other writes in that function that are using the default template parameter seem to be correct (the data fields should be guaranteed to change even in the event of reusing pages).
{"report":{"fcp":894.5,"ttfb":306.2999999821186,"pageVisibility":"visible","entityId":84922,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b0ace890-7354-4f2a-8caf-db66bb1923d8","navigationType":0,"readyForUser":963.9000000059605,"redirectCount":0,"resourceLoadedEnd":1063.699999988079,"resourceLoadedStart":311.40000000596046,"resourceTiming":[{"duration":25.399999976158142,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":311.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.7999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":25.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":311.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":337.5,"responseStart":0,"secureConnectionStart":0},{"duration":86.09999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":311.90000000596046,"connectEnd":311.90000000596046,"connectStart":311.90000000596046,"domainLookupEnd":311.90000000596046,"domainLookupStart":311.90000000596046,"fetchStart":311.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":311.90000000596046,"responseEnd":398,"responseStart":398,"secureConnectionStart":311.90000000596046},{"duration":152.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":312,"connectEnd":312,"connectStart":312,"domainLookupEnd":312,"domainLookupStart":312,"fetchStart":312,"redirectEnd":0,"redirectStart":0,"requestStart":312,"responseEnd":464.5,"responseStart":464.5,"secureConnectionStart":312},{"duration":156,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":312.19999998807907,"connectEnd":312.19999998807907,"connectStart":312.19999998807907,"domainLookupEnd":312.19999998807907,"domainLookupStart":312.19999998807907,"fetchStart":312.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":312.19999998807907,"responseEnd":468.19999998807907,"responseStart":468.19999998807907,"secureConnectionStart":312.19999998807907},{"duration":156.09999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":312.5,"connectEnd":312.5,"connectStart":312.5,"domainLookupEnd":312.5,"domainLookupStart":312.5,"fetchStart":312.5,"redirectEnd":0,"redirectStart":0,"requestStart":312.5,"responseEnd":468.59999999403954,"responseStart":468.59999999403954,"secureConnectionStart":312.5},{"duration":156.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":312.59999999403954,"connectEnd":312.59999999403954,"connectStart":312.59999999403954,"domainLookupEnd":312.59999999403954,"domainLookupStart":312.59999999403954,"fetchStart":312.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":312.59999999403954,"responseEnd":469,"responseStart":469,"secureConnectionStart":312.59999999403954},{"duration":225,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":312.7999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":537.7999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":156.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":312.90000000596046,"connectEnd":312.90000000596046,"connectStart":312.90000000596046,"domainLookupEnd":312.90000000596046,"domainLookupStart":312.90000000596046,"fetchStart":312.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":312.90000000596046,"responseEnd":469.40000000596046,"responseStart":469.40000000596046,"secureConnectionStart":312.90000000596046},{"duration":224.90000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":313.09999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":538,"responseStart":0,"secureConnectionStart":0},{"duration":156.7000000178814,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":313.19999998807907,"connectEnd":313.19999998807907,"connectStart":313.19999998807907,"domainLookupEnd":313.19999998807907,"domainLookupStart":313.19999998807907,"fetchStart":313.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":313.19999998807907,"responseEnd":469.90000000596046,"responseStart":469.90000000596046,"secureConnectionStart":313.19999998807907},{"duration":294,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":314,"connectEnd":314,"connectStart":314,"domainLookupEnd":314,"domainLookupStart":314,"fetchStart":314,"redirectEnd":0,"redirectStart":0,"requestStart":314,"responseEnd":608,"responseStart":608,"secureConnectionStart":314},{"duration":749.5999999940395,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":314.09999999403954,"connectEnd":314.09999999403954,"connectStart":314.09999999403954,"domainLookupEnd":314.09999999403954,"domainLookupStart":314.09999999403954,"fetchStart":314.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":314.09999999403954,"responseEnd":1063.699999988079,"responseStart":1063.699999988079,"secureConnectionStart":314.09999999403954},{"duration":59,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":549.4000000059605,"connectEnd":549.4000000059605,"connectStart":549.4000000059605,"domainLookupEnd":549.4000000059605,"domainLookupStart":549.4000000059605,"fetchStart":549.4000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":549.4000000059605,"responseEnd":608.4000000059605,"responseStart":608.4000000059605,"secureConnectionStart":549.4000000059605},{"duration":302.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true","startTime":815.5999999940395,"connectEnd":815.5999999940395,"connectStart":815.5999999940395,"domainLookupEnd":815.5999999940395,"domainLookupStart":815.5999999940395,"fetchStart":815.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":815.5999999940395,"responseEnd":1118,"responseStart":1118,"secureConnectionStart":815.5999999940395}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":21,"responseStart":306,"responseEnd":309,"domLoading":309,"domInteractive":1082,"domContentLoadedEventStart":1082,"domContentLoadedEventEnd":1120,"domComplete":1684,"loadEventStart":1684,"loadEventEnd":1686,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1065.5999999940395},{"name":"bigPipe.sidebar-id.end","time":1066.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1066.699999988079},{"name":"bigPipe.activity-panel-pipe-id.end","time":1069.0999999940395},{"name":"activityTabFullyLoaded","time":1126.9000000059605}],"measures":[],"correlationId":"fcbc2d8cec3af9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":223,"dbReadsTimeInMs":13,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}