ninsmiracle opened a new pull request, #2068: URL: https://github.com/apache/incubator-pegasus/pull/2068
### What problem does this PR solve? <!--add issue link with summary if exists--> #2014 ### What is changed and how does it work? Old logic: If some file open with err `ERR_FILE_OPERATION_FAILED`, the others file could as a paramater to build a log_file object. However, plog GC thread can remove the file between those two actiion.(Just as the condition following...)  New logic: Add some judgement logic in `find_log_file_to_start` to prevent those plog (which has possible already be removed) from `open_read`. ##### Tests <!-- At least one of them must be included. --> - Unit test - Manual test (add detailed scripts or steps below) -- 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]
