alibaba / alibaba/innodb-java-reader

提示 index header is unreadable

Open
#19 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
496
Forks
122
PR merge metrics
No merged PRs in 30d

Description

你好,
sql: CREATE TABLE `binance_wallet_address`(`id` int(11) NOT NULL,`address` varchar(80),`is_hot_cold` int(2),PRIMARY KEY (`id`),KEY `index_address` (`address`)) ENGINE=InnoDB;"
ibdfile :binance_wallet_address.ibd

出现下面的错误, ibd 文件与 sql 语句是有效的。唯一的不同点,是 ibd 文件不是创建在 datadir 中的,通过 isl 连接
Index header is unreadable, only new-style compact page format is supported, please make sure the file is a valid InnoDB data file, page=Page#676291(header=FilHeader(checksum=0, pageNumber=0, prevPage=0, nextPage=0, lastModifiedLsn=0, pageType=ALLOCATED, flushLsn=0, spaceId=0)), index.header = IndexHeader(numOfDirSlots=0, heapTopPosition=0, numOfHeapRecords=0, format=REDUNDANT, firstGarbageRecOffset=0, garbageSpace=0, lastInsertPos=0, pageDirection=null, numOfInsertsInPageDirection=0, numOfRecs=0, maxTrxId=0, pageLevel=0, indexId=0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported error with the CREATE TABLE statement, binance_wallet_address.ibd file, and its isl-linked location outside the datadir. Trace the code path that reads the InnoDB index header and compare the page metadata shown in the report with the reader's expectations. Done means identifying whether this valid external tablespace is unsupported or incorrectly rejected, with a regression test or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.