fix(metanode): skip the deleted inodes.#1000172889

Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
This commit is contained in:
Wu Huocheng 2025-06-12 10:57:48 +08:00 committed by zhumingze1108
parent 1bc5ce41a5
commit 443770c908

View File

@ -1155,8 +1155,8 @@ func (mp *metaPartition) fsmInternalBatchFreeMigrationExtentKey(val []byte) (err
if item == nil {
err = fmt.Errorf("mpId(%v) inode(%v) not found",
mp.config.PartitionId, inoParam.Inode)
log.LogErrorf("[fsmInternalBatchFreeMigrationExtentKey] %v", err)
return
log.LogWarnf("[fsmInternalBatchFreeMigrationExtentKey] %v", err)
continue
}
ino := item.(*Inode)