junrao commented on pull request #10617:
URL: https://github.com/apache/kafka/pull/10617#issuecomment-831371437


   @wenbingshen : It would be useful to be clear what the PR wants to address. 
To me, if the index is corrupted because of our recovery logic (e.g., not 
handling cleaning shutdown file properly), we should just fix the cause. It's 
possible that after a clean restart, the index is corrupted due to storage 
issues. In that case, validating the index when the index is opened could 
potentially be useful. If we want to do that, it seems that we should we just 
do the validation on every index open, instead of just for the active segment? 


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to