- bootstrap the server with --innodb-undo-tablespaces=2;
- start the server with --innodb-undo-tablespaces=1
10.2 40b4f9c9
|
mysqld: /data/src/10.2/storage/innobase/include/trx0rseg.h:217: bool trx_rseg_t::is_persistent() const: Assertion `space == 0xFFFFFFFEU || space == TRX_SYS_SPACE || (srv_undo_space_id_start > 0 && space >= srv_undo_space_id_start && space <= srv_undo_space_id_start + srv_undo_tablespaces_active) || !srv_was_started' failed.
|
190219 2:15:22 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f764b846ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x00005571129a7d69 in trx_rseg_t::is_persistent (this=0x557115677910) at /data/src/10.2/storage/innobase/include/trx0rseg.h:211
|
#9 0x0000557112a42dd1 in trx_assign_rseg_low () at /data/src/10.2/storage/innobase/trx/trx0trx.cc:1053
|
#10 0x0000557112a434ec in trx_start_low (trx=0x7f7648552148, read_write=true) at /data/src/10.2/storage/innobase/trx/trx0trx.cc:1189
|
#11 0x0000557112a47be9 in trx_start_internal_low (trx=0x7f7648552148) at /data/src/10.2/storage/innobase/trx/trx0trx.cc:2859
|
#12 0x0000557112b29b18 in dict_stats_fetch_from_ps (table=0x7f75e801a408) at /data/src/10.2/storage/innobase/dict/dict0stats.cc:2988
|
#13 0x0000557112b2a36a in dict_stats_update (table=0x7f75e8016c28, stats_upd_option=DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY) at /data/src/10.2/storage/innobase/dict/dict0stats.cc:3280
|
#14 0x000055711283df3d in dict_stats_init (table=0x7f75e8016c28) at /data/src/10.2/storage/innobase/include/dict0stats.ic:165
|
#15 0x0000557112847a77 in ha_innobase::open (this=0x7f75e800e1a8, name=0x7f75e800a918 "./mysql/gtid_slave_pos") at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:6280
|
#16 0x0000557112539518 in handler::ha_open (this=0x7f75e800e1a8, table_arg=0x7f75e800d140, name=0x7f75e800a918 "./mysql/gtid_slave_pos", mode=2, test_if_locked=18) at /data/src/10.2/sql/handler.cc:2550
|
#17 0x00005571123beba0 in open_table_from_share (thd=0x7f75e8000b00, share=0x7f75e800a3f8, alias=0x557112d9b71c "gtid_slave_pos", db_stat=33, prgflag=8, ha_open_flags=18, outparam=0x7f75e800d140, is_create_table=false) at /data/src/10.2/sql/table.cc:3351
|
#18 0x000055711224573f in open_table (thd=0x7f75e8000b00, table_list=0x7f7648505860, ot_ctx=0x7f7648505600) at /data/src/10.2/sql/sql_base.cc:1923
|
#19 0x0000557112248323 in open_and_process_table (thd=0x7f75e8000b00, lex=0x7f75e8004620, tables=0x7f7648505860, counter=0x7f7648505694, flags=0, prelocking_strategy=0x7f7648505710, has_prelocking_list=false, ot_ctx=0x7f7648505600) at /data/src/10.2/sql/sql_base.cc:3488
|
#20 0x0000557112249483 in open_tables (thd=0x7f75e8000b00, options=..., start=0x7f7648505678, counter=0x7f7648505694, flags=0, prelocking_strategy=0x7f7648505710) at /data/src/10.2/sql/sql_base.cc:4011
|
#21 0x000055711224ac7e in open_and_lock_tables (thd=0x7f75e8000b00, options=..., tables=0x7f7648505860, derived=false, flags=0, prelocking_strategy=0x7f7648505710) at /data/src/10.2/sql/sql_base.cc:4767
|
#22 0x000055711223dcbd in open_and_lock_tables (thd=0x7f75e8000b00, tables=0x7f7648505860, derived=false, flags=0) at /data/src/10.2/sql/sql_base.h:506
|
#23 0x00005571123f6bd1 in rpl_load_gtid_slave_state (thd=0x7f75e8000b00) at /data/src/10.2/sql/rpl_rli.cc:1547
|
#24 0x00005571121fff93 in handle_slave_background (arg=0x0) at /data/src/10.2/sql/slave.cc:309
|
#25 0x00007f764d51d494 in start_thread (arg=0x7f7648506700) at pthread_create.c:333
|
#26 0x00007f764b90393f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
10.4 790b6f5a
|
mysqld: /data/src/10.4/storage/innobase/include/trx0rseg.h:198: bool trx_rseg_t::is_persistent() const: Assertion `space == fil_system.temp_space || space == fil_system.sys_space || (srv_undo_space_id_start > 0 && space->id >= srv_undo_space_id_start && space->id <= srv_undo_space_id_start + srv_undo_tablespaces_active) || !srv_was_started' failed.
|
190219 2:19:43 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f833ab85ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055c48f675a1e in trx_rseg_t::is_persistent (this=0x55c49381b0c0) at /data/src/10.4/storage/innobase/include/trx0rseg.h:192
|
#9 0x000055c48f700e53 in trx_assign_rseg_low () at /data/src/10.4/storage/innobase/trx/trx0trx.cc:835
|
#10 0x000055c48f70164c in trx_start_low (trx=0x7f8338092140, read_write=true) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:966
|
#11 0x000055c48f705433 in trx_start_internal_low (trx=0x7f8338092140) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:2261
|
#12 0x000055c48f7f9761 in dict_stats_fetch_from_ps (table=0x7f82d801ae78) at /data/src/10.4/storage/innobase/dict/dict0stats.cc:2990
|
#13 0x000055c48f7f9fe9 in dict_stats_update (table=0x7f82d801a4d8, stats_upd_option=DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY) at /data/src/10.4/storage/innobase/dict/dict0stats.cc:3282
|
#14 0x000055c48f4dcfed in dict_stats_init (table=0x7f82d801a4d8) at /data/src/10.4/storage/innobase/include/dict0stats.ic:165
|
#15 0x000055c48f4e6fee in ha_innobase::open (this=0x7f82d8011a28, name=0x7f82d800df10 "./mysql/gtid_slave_pos") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:6157
|
#16 0x000055c48f1ab123 in handler::ha_open (this=0x7f82d8011a28, table_arg=0x7f82d8010770, name=0x7f82d800df10 "./mysql/gtid_slave_pos", mode=2, test_if_locked=18, mem_root=0x0, partitions_to_open=0x0) at /data/src/10.4/sql/handler.cc:2901
|
#17 0x000055c48ef87f7d in open_table_from_share (thd=0x7f82d8000b00, share=0x7f82d800d9b8, alias=0x7f83252d9408, db_stat=33, prgflag=8, ha_open_flags=18, outparam=0x7f82d8010770, is_create_table=false, partitions_to_open=0x0) at /data/src/10.4/sql/table.cc:3646
|
#18 0x000055c48edcd065 in open_table (thd=0x7f82d8000b00, table_list=0x7f83252d93c0, ot_ctx=0x7f83252d91f0) at /data/src/10.4/sql/sql_base.cc:2035
|
#19 0x000055c48edd034c in open_and_process_table (thd=0x7f82d8000b00, lex=0x7f82d8004930, tables=0x7f83252d93c0, counter=0x7f83252d9284, flags=0, prelocking_strategy=0x7f83252d9300, has_prelocking_list=false, ot_ctx=0x7f83252d91f0) at /data/src/10.4/sql/sql_base.cc:3728
|
#20 0x000055c48edd17a9 in open_tables (thd=0x7f82d8000b00, options=..., start=0x7f83252d9268, counter=0x7f83252d9284, flags=0, prelocking_strategy=0x7f83252d9300) at /data/src/10.4/sql/sql_base.cc:4261
|
#21 0x000055c48edd35f9 in open_and_lock_tables (thd=0x7f82d8000b00, options=..., tables=0x7f83252d93c0, derived=false, flags=0, prelocking_strategy=0x7f83252d9300) at /data/src/10.4/sql/sql_base.cc:5143
|
#22 0x000055c48ed90866 in open_and_lock_tables (thd=0x7f82d8000b00, tables=0x7f83252d93c0, derived=false, flags=0) at /data/src/10.4/sql/sql_base.h:509
|
#23 0x000055c48efc658c in scan_one_gtid_slave_pos_table (thd=0x7f82d8000b00, hash=0x7f83252d9df0, array=0x7f83252d9d90, tablename=0x7f82d800c108, out_hton=0x7f83252d9a50) at /data/src/10.4/sql/rpl_rli.cc:1531
|
#24 0x000055c48efc7336 in load_gtid_state_cb (thd=0x7f82d8000b00, table_name=0x7f82d800c108, arg=0x7f83252d9db0) at /data/src/10.4/sql/rpl_rli.cc:1806
|
#25 0x000055c48efc6e25 in scan_all_gtid_slave_pos_table (thd=0x7f82d8000b00, cb=0x55c48efc72f4 <load_gtid_state_cb(THD*, LEX_CSTRING*, void*)>, cb_data=0x7f83252d9db0) at /data/src/10.4/sql/rpl_rli.cc:1675
|
#26 0x000055c48efc74f5 in rpl_load_gtid_slave_state (thd=0x7f82d8000b00) at /data/src/10.4/sql/rpl_rli.cc:1843
|
#27 0x000055c48ed627e3 in handle_slave_background (arg=0x0) at /data/src/10.4/sql/slave.cc:490
|
#28 0x00007f833c85c494 in start_thread (arg=0x7f83252da700) at pthread_create.c:333
|
#29 0x00007f833ac4293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
- relates to
-
MDEV-18610
yum安装mariadb server后,使用mysql_install_db进行初始化完成,启动报如下错误
-
-
Closed
{"report":{"fcp":929.3000001907349,"ttfb":204.69999980926514,"pageVisibility":"visible","entityId":72689,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"8dd2d12d-8ee4-49b8-aac9-52327313b83c","navigationType":0,"readyForUser":1019.1000003814697,"redirectCount":0,"resourceLoadedEnd":1114.1000003814697,"resourceLoadedStart":212.60000038146973,"resourceTiming":[{"duration":156.5999994277954,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":212.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":369.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":156.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":212.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":369.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":165.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":213,"connectEnd":213,"connectStart":213,"domainLookupEnd":213,"domainLookupStart":213,"fetchStart":213,"redirectEnd":0,"redirectStart":0,"requestStart":213,"responseEnd":378.6000003814697,"responseStart":378.6000003814697,"secureConnectionStart":213},{"duration":239.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":213.19999980926514,"connectEnd":213.19999980926514,"connectStart":213.19999980926514,"domainLookupEnd":213.19999980926514,"domainLookupStart":213.19999980926514,"fetchStart":213.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":213.19999980926514,"responseEnd":452.30000019073486,"responseStart":452.30000019073486,"secureConnectionStart":213.19999980926514},{"duration":242.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":213.4000005722046,"connectEnd":213.4000005722046,"connectStart":213.4000005722046,"domainLookupEnd":213.4000005722046,"domainLookupStart":213.4000005722046,"fetchStart":213.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":213.4000005722046,"responseEnd":456.1000003814697,"responseStart":456.1000003814697,"secureConnectionStart":213.4000005722046},{"duration":243.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":213.5,"connectEnd":213.5,"connectStart":213.5,"domainLookupEnd":213.5,"domainLookupStart":213.5,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":213.5,"responseEnd":456.80000019073486,"responseStart":456.80000019073486,"secureConnectionStart":213.5},{"duration":243.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":213.69999980926514,"connectEnd":213.69999980926514,"connectStart":213.69999980926514,"domainLookupEnd":213.69999980926514,"domainLookupStart":213.69999980926514,"fetchStart":213.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":213.69999980926514,"responseEnd":457.30000019073486,"responseStart":457.30000019073486,"secureConnectionStart":213.69999980926514},{"duration":309.29999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":213.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":523.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":245,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":214,"connectEnd":214,"connectStart":214,"domainLookupEnd":214,"domainLookupStart":214,"fetchStart":214,"redirectEnd":0,"redirectStart":0,"requestStart":214,"responseEnd":459,"responseStart":459,"secureConnectionStart":214},{"duration":309.20000076293945,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":214.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":523.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":246.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":214.30000019073486,"connectEnd":214.30000019073486,"connectStart":214.30000019073486,"domainLookupEnd":214.30000019073486,"domainLookupStart":214.30000019073486,"fetchStart":214.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":214.30000019073486,"responseEnd":460.69999980926514,"responseStart":460.69999980926514,"secureConnectionStart":214.30000019073486},{"duration":875.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":219.80000019073486,"connectEnd":219.80000019073486,"connectStart":219.80000019073486,"domainLookupEnd":219.80000019073486,"domainLookupStart":219.80000019073486,"fetchStart":219.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":219.80000019073486,"responseEnd":1095.6999998092651,"responseStart":1095.6999998092651,"secureConnectionStart":219.80000019073486},{"duration":877.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":220.60000038146973,"connectEnd":220.60000038146973,"connectStart":220.60000038146973,"domainLookupEnd":220.60000038146973,"domainLookupStart":220.60000038146973,"fetchStart":220.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":220.60000038146973,"responseEnd":1098.3000001907349,"responseStart":1098.1999998092651,"secureConnectionStart":220.60000038146973},{"duration":115.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":534.9000005722046,"connectEnd":534.9000005722046,"connectStart":534.9000005722046,"domainLookupEnd":534.9000005722046,"domainLookupStart":534.9000005722046,"fetchStart":534.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":534.9000005722046,"responseEnd":650.1000003814697,"responseStart":650.1000003814697,"secureConnectionStart":534.9000005722046},{"duration":278.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":835.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":835.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1114.1000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":44,"responseStart":205,"responseEnd":220,"domLoading":210,"domInteractive":1121,"domContentLoadedEventStart":1121,"domContentLoadedEventEnd":1171,"domComplete":1838,"loadEventStart":1838,"loadEventEnd":1839,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1103.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1103.9000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1104},{"name":"bigPipe.activity-panel-pipe-id.end","time":1104.9000005722046},{"name":"activityTabFullyLoaded","time":1183.4000005722046}],"measures":[],"correlationId":"7dcb9971d24ced","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This was a bogus debug assertion. There should be no impact for release builds.