Comment 2 for bug 1000224

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

index->id == btr_page_get_index_id(page) implies that the page for whom the adaptive hash index is to be re/built has a different index id than the index supplied.

Now, from the linked bug lp:1000221 it looks like this behavior is due to FIL_PAGE_TYPE corruption:

"it crashed on an extent descriptor page because it assumed it to be an index page and tried to iterate records on it."

So, it crashed there because the page is not an index page at all. In other words, looks like the import is corrupt.

Only way to fix this is to start mysqld with AHI disabled, drop the table and re-import it. Also, the data dictionary looks corrupted with incorrect space_id recorded in it.