I found a problem (different assert but server setup differs somehow too) during
|
RQG testing.
|
The attempt to derive some MTR based test shows the assert reported here.
|
1. Load some data
|
2. mariabackup --backup (passes)
|
3. mariabackup --prepare (fails with core)
|
mariabackup: storage/innobase/log/log0recv.cc:2857: bool recv_parse_log_recs(lsn_t, store_t, bool): Assertion `recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn' failed.
|
190426 12:52:08 [ERROR] mysqld got signal 6 ;
|
...
|
#2 <signal handler called>
|
#3 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
|
#4 0x00007fae1b888f5d in __GI_abort () at abort.c:90
|
#5 0x00007fae1b87ef17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x561ff08fe288 "recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn", file=file@entry=0x561ff08fc698 "storage/innobase/log/log0recv.cc", line=line@entry=2857, function=function@entry=0x561ff0901360 <recv_parse_log_recs(unsigned long, store_t, bool)::__PRETTY_FUNCTION__> "bool recv_parse_log_recs(lsn_t, store_t, bool)") at assert.c:92
|
#6 0x00007fae1b87efc2 in __GI___assert_fail (assertion=0x561ff08fe288 "recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn", file=0x561ff08fc698 "storage/innobase/log/log0recv.cc", line=2857, function=0x561ff0901360 <recv_parse_log_recs(unsigned long, store_t, bool)::__PRETTY_FUNCTION__> "bool recv_parse_log_recs(lsn_t, store_t, bool)") at assert.c:101
|
#7 0x0000561ff02b0491 in recv_parse_log_recs (checkpoint_lsn=21762728, store=STORE_YES, apply=true) at storage/innobase/log/log0recv.cc:2857
|
#8 0x0000561ff02b14df in recv_scan_log_recs (available_memory=96468992, store_to_hash=0x7ffd2e245c54, log_block=0x7fae146f6200 '\245' <repeats 200 times>..., checkpoint_lsn=21762728, start_lsn=22614528, end_lsn=22680064, contiguous_lsn=0x7ffd2e245ce0, group_scanned_lsn=0x561ff30a7530) at storage/innobase/log/log0recv.cc:3329
|
#9 0x0000561ff02b19f0 in recv_group_scan_log_recs (group=0x561ff30a7500, checkpoint_lsn=21762728, contiguous_lsn=0x7ffd2e245ce0, last_phase=false) at storage/innobase/log/log0recv.cc:3427
|
#10 0x0000561ff02b2d2b in recv_recovery_from_checkpoint_start (flush_lsn=1633870) at storage/innobase/log/log0recv.cc:3751
|
#11 0x0000561ff03bfce7 in innobase_start_or_create_for_mysql () at storage/innobase/srv/srv0start.cc:2188
|
#12 0x0000561fefb88878 in innodb_init () at extra/mariabackup/xtrabackup.cc:1990
|
#13 0x0000561fefb92a1b in xtrabackup_prepare_func (argv=0x561ff2bcca90) at extra/mariabackup/xtrabackup.cc:5571
|
#14 0x0000561fefb94d40 in main_low (argv=0x561ff2bcca90) at extra/mariabackup/xtrabackup.cc:6398
|
#15 0x0000561fefb94552 in main (argc=7, argv=0x7ffd2e24a9f8) at extra/mariabackup/xtrabackup.cc:6191
|
|
10.2 commit 3dffdee667666df9ade9f2c458bf1ea495ffba02 2019-04-25
|
|
The assert seen during RQG testing (also during mariabackup --prepare) was
|
mariabackup: storage/innobase/fil/fil0fil.cc:582: bool fil_node_t::read_page0(bool): Assertion `space->free_limit == 0 || space->free_limit == free_limit' failed.
|
...
|
# 2019-04-25T17:37:52 [228049] | mysys/stacktrace.c:267(my_print_stacktrace)[0x563bac73a344]
|
# 2019-04-25T17:37:52 [228049] | sql/signal_handler.cc:168(handle_fatal_signal)[0x563bac07401d]
|
# 2019-04-25T17:37:52 [228049] | /lib/x86_64-linux-gnu/libpthread.so.0(+0x11670)[0x7fc6eb261670]
|
[228050] SELECT 13 /* E_R Thread1 QNO 19501 CON_ID 16 */ ;
|
# 2019-04-25T17:37:52 [228049] | linux/raise.c:58(__GI_raise)[0x7fc6e934477f]
|
# 2019-04-25T17:37:52 [228049] | stdlib/abort.c:91(__GI_abort)[0x7fc6e934637a]
|
# 2019-04-25T17:37:52 [228049] | assert/assert.c:92(__assert_fail_base)[0x7fc6e933cb47]
|
# 2019-04-25T17:37:52 [228049] | /lib/x86_64-linux-gnu/libc.so.6(+0x2dbf2)[0x7fc6e933cbf2]
|
# 2019-04-25T17:37:52 [228049] | fil/fil0fil.cc:583(fil_node_t::read_page0(bool))[0x563bac265965]
|
# 2019-04-25T17:37:52 [228049] | fil/fil0fil.cc:659(fil_node_open_file(fil_node_t*))[0x563bac265e7e]
|
# 2019-04-25T17:37:52 [228049] | fil/fil0fil.cc:4701(fil_node_prepare_for_io(fil_node_t*, fil_system_t*, fil_space_t*))[0x563bac272397]
|
# 2019-04-25T17:37:52 [228049] | fil/fil0fil.cc:4959(fil_io(IORequest const&, bool, page_id_t, page_size_t const&, unsigned long, unsigned long, void*, void*, bool))[0x563bac27303a]
|
[228050] SELECT 13 /* E_R Thread1 QNO 19502 CON_ID 16 */ ;
|
# 2019-04-25T17:37:52 [228049] | buf/buf0rea.cc:181(buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t, page_size_t const&, bool, bool))[0x563bac2279c2]
|
# 2019-04-25T17:37:52 [228049] | buf/buf0rea.cc:942(buf_read_recv_pages(bool, unsigned long, unsigned long const*, unsigned long))[0x563bac229870]
|
# 2019-04-25T17:37:52 [228049] | log/log0recv.cc:2282(recv_read_in_area(page_id_t))[0x563bac36d8ff]
|
# 2019-04-25T17:37:52 [228049] | log/log0recv.cc:2388(recv_apply_hashed_log_recs(bool))[0x563bac36dee1]
|
# 2019-04-25T17:37:52 [228049] | srv/srv0start.cc:2226(innobase_start_or_create_for_mysql())[0x563bac47efda]
|
# 2019-04-25T17:37:52 [228049] | mariabackup/xtrabackup.cc:1990(innodb_init())[0x563babc491e9]
|
[228050] SELECT 13 /* E_R Thread1 QNO 19503 CON_ID 16 */ ;
|
# 2019-04-25T17:37:52 [228049] | mariabackup/xtrabackup.cc:5571(xtrabackup_prepare_func(char**))[0x563babc5340d]
|
# 2019-04-25T17:37:52 [228049] | mariabackup/xtrabackup.cc:6398(main_low(char**))[0x563babc55649]
|
# 2019-04-25T17:37:52 [228049] | mariabackup/xtrabackup.cc:6191(main)[0x563babc54e5b]
|
# 2019-04-25T17:37:52 [228049] | csu/libc-start.c:325(__libc_start_main)[0x7fc6e932f3f1]
|
# 2019-04-25T17:37:52 [228049] | /work/10.2_clean/bld_debug/extra/mariabackup/mariabackup(_start+0x2a)[0x563babc448fa]
|
|
|
{"report":{"fcp":1000.5999999642372,"ttfb":246.5,"pageVisibility":"visible","entityId":75625,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bde44804-636c-4482-8115-d0ff4941d734","navigationType":0,"readyForUser":1087.800000011921,"redirectCount":0,"resourceLoadedEnd":775.0999999642372,"resourceLoadedStart":253.5,"resourceTiming":[{"duration":243.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":253.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":497.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":243.79999995231628,"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":253.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":497.5999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":252.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":254,"connectEnd":254,"connectStart":254,"domainLookupEnd":254,"domainLookupStart":254,"fetchStart":254,"redirectEnd":0,"redirectStart":0,"requestStart":254,"responseEnd":506.69999998807907,"responseStart":506.69999998807907,"secureConnectionStart":254},{"duration":295.60000002384186,"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":254.19999998807907,"connectEnd":254.19999998807907,"connectStart":254.19999998807907,"domainLookupEnd":254.19999998807907,"domainLookupStart":254.19999998807907,"fetchStart":254.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":254.19999998807907,"responseEnd":549.8000000119209,"responseStart":549.8000000119209,"secureConnectionStart":254.19999998807907},{"duration":299.5999999642372,"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":254.30000001192093,"connectEnd":254.30000001192093,"connectStart":254.30000001192093,"domainLookupEnd":254.30000001192093,"domainLookupStart":254.30000001192093,"fetchStart":254.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":254.30000001192093,"responseEnd":553.8999999761581,"responseStart":553.8999999761581,"secureConnectionStart":254.30000001192093},{"duration":300.0999999642372,"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":254.5,"connectEnd":254.5,"connectStart":254.5,"domainLookupEnd":254.5,"domainLookupStart":254.5,"fetchStart":254.5,"redirectEnd":0,"redirectStart":0,"requestStart":254.5,"responseEnd":554.5999999642372,"responseStart":554.5999999642372,"secureConnectionStart":254.5},{"duration":300.5,"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":254.69999998807907,"connectEnd":254.69999998807907,"connectStart":254.69999998807907,"domainLookupEnd":254.69999998807907,"domainLookupStart":254.69999998807907,"fetchStart":254.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":254.69999998807907,"responseEnd":555.1999999880791,"responseStart":555.1999999880791,"secureConnectionStart":254.69999998807907},{"duration":394.5,"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":254.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":254.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":649.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":300.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":255.0999999642372,"connectEnd":255.0999999642372,"connectStart":255.0999999642372,"domainLookupEnd":255.0999999642372,"domainLookupStart":255.0999999642372,"fetchStart":255.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":255.0999999642372,"responseEnd":555.8000000119209,"responseStart":555.8000000119209,"secureConnectionStart":255.0999999642372},{"duration":394.39999997615814,"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":255.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":649.5999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":301.2999999523163,"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":255.30000001192093,"connectEnd":255.30000001192093,"connectStart":255.30000001192093,"domainLookupEnd":255.30000001192093,"domainLookupStart":255.30000001192093,"fetchStart":255.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":255.30000001192093,"responseEnd":556.5999999642372,"responseStart":556.5999999642372,"secureConnectionStart":255.30000001192093},{"duration":391.30000001192093,"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":261.19999998807907,"connectEnd":261.19999998807907,"connectStart":261.19999998807907,"domainLookupEnd":261.19999998807907,"domainLookupStart":261.19999998807907,"fetchStart":261.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":261.19999998807907,"responseEnd":652.5,"responseStart":652.5,"secureConnectionStart":261.19999998807907},{"duration":392.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":263.5,"connectEnd":263.5,"connectStart":263.5,"domainLookupEnd":263.5,"domainLookupStart":263.5,"fetchStart":263.5,"redirectEnd":0,"redirectStart":0,"requestStart":263.5,"responseEnd":656,"responseStart":656,"secureConnectionStart":263.5},{"duration":19.69999998807907,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":676.3000000119209,"connectEnd":676.3000000119209,"connectStart":676.3000000119209,"domainLookupEnd":676.3000000119209,"domainLookupStart":676.3000000119209,"fetchStart":676.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":676.3000000119209,"responseEnd":696,"responseStart":696,"secureConnectionStart":676.3000000119209},{"duration":75.39999997615814,"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":699.6999999880791,"connectEnd":699.6999999880791,"connectStart":699.6999999880791,"domainLookupEnd":699.6999999880791,"domainLookupStart":699.6999999880791,"fetchStart":699.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":699.6999999880791,"responseEnd":775.0999999642372,"responseStart":775.0999999642372,"secureConnectionStart":699.6999999880791}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":10,"responseStart":246,"responseEnd":263,"domLoading":250,"domInteractive":1176,"domContentLoadedEventStart":1176,"domContentLoadedEventEnd":1244,"domComplete":1576,"loadEventStart":1576,"loadEventEnd":1577,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1134.699999988079},{"name":"bigPipe.sidebar-id.end","time":1135.3999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":1135.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1141.199999988079},{"name":"activityTabFullyLoaded","time":1263}],"measures":[],"correlationId":"add506651946a2","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":150,"dbReadsTimeInMs":17,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
PRT -- Output of the mariabackup calls with "--backup" and later "--prepare"
mtr.prt -- Output of my MTR call
./mysql-test-run.pl --mem --parallel=8 --repeat=10 --mysqld=--debug="d,ib_log_checkpoint_avoid" \
table_stress1 table_stress1 table_stress1 table_stress1 table_stress1 table_stress1 table_stress1 table_stress1 \
2>&1 | tee mtr.prt
table_stress1.test -- The MTR test
You might need several run the MTR call several times in order to achieve at least one replay.
In case replaying makes too much trouble than please show up.