yujun777 opened a new pull request, #42208:
URL: https://github.com/apache/doris/pull/42208

   When read/write a tablet,  if meet io error,  it will increase this tablet's 
field `_io_error_times`.  And if `_io_error_times` >= 
config::max_tablet_io_errors,  then be will report this tablet as bad,   then 
fe can drop it later.
   
   But there are a lot of code that may met an io error!  And they may forget 
to increase this tablet's  _io_error_times.  
   This PR only fix some,  there should be others not fixed.
   
   What's more,   config::max_tablet_io_errors default value is -1.  It means 
always no set tablet as bad. For an online cluster, it shoud manually set this 
config > 0 in order to make it work.
   
   


-- 
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

Reply via email to