[MDEV-23217] 0x7fc561ffb700 InnoDB: Assertion failure Created: 2020-07-19 Updated: 2020-12-28 Resolved: 2020-12-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Bill Platt | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS Linux release 8.2.2004 (Core) |
||
| Description |
|
This popped up every time restarting after an error occurred importing databases. At first I was getting Mysql server went away messages piping one DB to another. This error prevents MariaDB from starting up Increase timeouts and buffer sizes while using a dump and then a separate command to import worked on databases that were created. I then tried to import into a database that did not exist and the issue came back. Deleting ib_logfile* ibtmp1 and tc.log while setting innodb_force_recovery = 2 restarting, deleting the newly created files and restarting again got me back online relevant section of the log file is below 2020-07-19 07:42:27 0x7fc561ffb700 InnoDB: Assertion failure in file /builddir/build/BUILD/mariadb-10.3.17/storage/innobase/btr/btr0sea.cc line 1415 Server version: 10.3.17-MariaDB-log Thread pointer: 0x7fc538000c48 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| Comments |
| Comment by Bill Platt [ 2020-07-19 ] |
|
Log file after a successful start 2020-07-19 8:20:52 0 [Note] InnoDB: Using Linux native AIO |
| Comment by Elena Stepanova [ 2020-08-05 ] |
|
Could be related to the recently fixed cluster of failures in btr_search_drop_page_hash_index ( |
| Comment by Marko Mäkelä [ 2020-10-23 ] |
|
I think that anything can happen if you kill the server, delete log files, and restart. You should never ever do that! I cannot imagine that any bug in the adaptive hash index would cause index ID mismatch. The main reason for the index ID to be written to the B-tree pages is that it is used to validate the guesses in the adaptive hash index. Does this corruption occur if you do not delete log files and do not prevent crash recovery by setting innodb_force_recovery=6? |
| Comment by Marko Mäkelä [ 2020-11-24 ] |
|
elenst, sorry, I misread the description. JazzBlueRT, did you get this kind of errors after upgrading to a later version? We fixed several bugs in the adaptive hash index lately, including some race conditions between buffer pool resizing and the adaptive hash index. |