zzzxl1993 commented on code in PR #48666: URL: https://github.com/apache/doris/pull/48666#discussion_r1980645090
########## be/src/olap/rowset/segment_v2/inverted_index_fs_directory.cpp: ########## @@ -221,6 +221,13 @@ void DorisFSDirectory::FSIndexInput::readInternal(uint8_t* b, const int32_t len) if (!st.ok()) { _CLTHROWA(CL_ERR_IO, "read past EOF"); } + if (bytes_read == 0) { Review Comment: The test_index_compound_directory_fault_injection test case is already implemented. The primary fix addresses the core dump problem observed in this scenario. -- 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