dataroaring commented on code in PR #16472: URL: https://github.com/apache/doris/pull/16472#discussion_r1112009136
########## be/src/olap/tablet.h: ########## @@ -391,6 +391,14 @@ class Tablet : public BaseTablet { } } + inline void increase_io_error_times() { ++_io_error_times; } + + inline int64_t get_io_error_times() const { return _io_error_times; } + + inline bool is_io_error_too_times() const { Review Comment: Maybe we can use a name like exceeds_threshold or too_many? -- 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