liutang123 commented on PR #16472: URL: https://github.com/apache/doris/pull/16472#issuecomment-1434869904
is_io_error includes IO_ERROR, READ_UNENOUGH, CHECKSUM_ERROR, FILE_DATA_ERROR and TEST_FILE_ERROR ### IO_ERROR ``` FileHandler::open !close() // close file error // open file error FileHandler::open_with_mode !close() // close file error // open file error FileHandler::close// close file error FileHandler::write // write file error FileHandler::pwrite // seek write file error FileHandlerWithBuf::open FileHandlerWithBuf::close // close file error open file error FileHandlerWithBuf::close// close file error FileHandlerWithBuf::read // read file error FileHandlerWithBuf::pread // seek error FileHandlerWithBuf::write // write file error FileHandlerWithBuf::pwrite // seek error SchemaChangeForInvertedIndex::process // create inverted index error segment_v2::InvertedIndexColumnWriter::create SchemaChangeForInvertedIndex::_write_inverted_index SchemaChangeForInvertedIndex::_add_nullable SchemaChangeForInvertedIndex::_add_data segment_v2::InvertedIndexColumnWriterImpl::finish StorageEngine::start_trash_sweep StorageEngine::_do_sweep // remove file error TabletMeta::create_from_file // open file error read_write_test_file // remove file error // access file error and errno != ENOENT(file not exits). RowsetMetaManager::get_rowset_meta OlapMeta::get(META_COLUMN_FAMILY_INDEX) // read rocksdb error. ``` ### READ_UNENOUGH ``` FileHandler::pread // read size is 0 Read empty data in file but there is still data need to read. FileHandlerWithBuf::read // Reach the end of the file but there is still data need to read. ``` **CHECKSUM_ERROR** ``` FileHeader::unserialize // protobuf checksum in buffer and its real checksum value are not equal. ``` **FILE_DATA_ERROR** ``` FileHeader::unserialize // header size is not euqual to its real size. ``` **TEST_FILE_ERROR** ``` read_write_test_file // The content of buffer by pread and buffer by pwrite are not equal. ``` **ROWBLOCK_READ_INFO_ERROR** is abandoned -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org