[MDEV-29789] InnoDB: Failing assertion: btr_page_get_prev(get_block->frame, mtr) == page_get_page_no(page) Created: 2022-10-14 Updated: 2022-10-14 Resolved: 2022-10-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.1.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | thejaraj | Assignee: | Daniel Black |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Server version: 10.1.14-MariaDB |
||
| Description |
|
Team, MySQL is getting crashing again and again due to below error log, kindly let me know how to fix teh issues InnoDB: for more information. To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.1.14-MariaDB Thread pointer: 0x0x0 #
#innodb #innodb_lock_wait_timeout = 50
#slow_query_log free -g |
| Comments |
| Comment by Daniel Black [ 2022-10-14 ] |
|
10.1 and 10.2 release series are currently out of maintenance - https://mariadb.org/about/#maintenance-policy. The assertion was replaced with error handling in While a 10.1/10.2 fix isn't going to happen, details may help indicate if this is potentially still a bug in later versions, do you know anything that change or occurred recently potentially related to the crashed table? What is the oldest version of MySQL or MariaDB with which the database was created? What methods of backup and restore (or copying of database files in binary form) are being used? Has the configuration parameter innodb_force_recovery ever been used beyond the =1 described in this bug report? |
| Comment by Marko Mäkelä [ 2022-10-14 ] |
|
Setting innodb_force_recovery=1 (which is mentioned in the Description) could actually cause this problem. If the redo log would have covered splitting or merging two index B-tree pages and the changes to one of the pages were discarded due to innodb_force_recovery, the "next" and "previous" sibling links between the pages would trivially become out of sync. In 10.1, recovery was much more prone to errors. The situation was improved already in 10.2 by |
| Comment by thejaraj [ 2022-10-14 ] |
|
HI Daniel, we could see bulk insert operation in recent logs, and we have update the parameter innodb_force_recovery=1, but still maradb is crashing contunusoly, we have slave node we are taking the file level backup from networker and restore on master |
| Comment by thejaraj [ 2022-10-14 ] |
|
could you please help me with the steps to restore form slave server to master server |
| Comment by Daniel Black [ 2022-10-14 ] |
|
An offline copy of the datadir from slave to master should be sufficient. This kind of assistance is beyond what can be offered reliably in a bug report ticket. Please look at doing an upgrade soon. Keen in mind slave servers need to be the same or greater version than the master server. Some variables are now deprecated with no replacement (innodb_buffer_pool_instances at least). |
| Comment by thejaraj [ 2022-10-14 ] |
|
when i'm trying to restore from slave server, i'm getting below error, kindly check and update on below issues 2022-10-14 08:17:57 7ef62fffc700 InnoDB: Error: page 3646512 log sequence number 11882443412821 |
| Comment by Daniel Black [ 2022-10-14 ] |
|
was the master server entirely stopped (no mariadb running) and the datadir empty before you copied from an offline (no mariadb running) slave's datadir to this location? |
| Comment by thejaraj [ 2022-10-14 ] |
|
master server is stopped, and keep crashing with below error, i have changed the new path location of data dir files copied form slave server, on master node let me know how to fix this below issues. InnoDB: for more information. |
| Comment by thejaraj [ 2022-10-14 ] |
|
Team, you help is needed to fix the issues, after updating the below parameter i'm facing issues, kindly help MariaDB [zabbix]> select count(1) from triggers; |
| Comment by Daniel Black [ 2022-10-14 ] |
|
This kind of assistance is beyond what can be offered in a bug report ticket. This isn't a help forum - see https://mariadb.com/kb/en/getting-help-with-mariadb/ for options. |