liutang123 opened a new issue #6840: URL: https://github.com/apache/incubator-doris/issues/6840
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description Record the number of times a tablet IO error occurred. If a tablet IO fails too many times, report it as bad to master. ### Use case When a tablet file is corrupted, the query on it will fail. ```W0908 16:50:33.087361 272973 fragment_mgr.cpp:228] Got error while opening fragment 126e63908b4b41fb-b045f3d99f8a6dde: Internal error: failed to initialize storage reader. tablet=172383334.773458706.d44b6c7094fee797-b101296349f6bab2, res=-3111, backend=10.56.59.13 E0908 16:50:33.037976 272920 env_posix.cpp:66] I/O error, context=/data4/olap/data/463/172383334/773458706/0200000001f61c130b4141b603ed3a64e49e4833adb16097_0.dat W0908 16:50:33.038776 272920 beta_rowset_reader.cpp:136] failed to read next block: IO error: /data4/olap/data/463/172383334/773458706/0200000001f61c130b4141b603ed3a64e49e4833adb16097_0.dat: Input/output error (error 5) W0908 16:50:33.038796 272920 reader.cpp:558] failed to add child to iterator W0908 16:50:33.038806 272920 reader.cpp:329] fail to init reader when _capture_rs_readers. res:-3111, tablet_id:172383334, schema_hash:773458706, reader_type:0, version:[0-88] ``` The tablet will not be repaired. ### Related issues _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
