zhining-lu commented on pull request #334: URL: https://github.com/apache/flume/pull/334#issuecomment-760101949
HI, the execution of new FileWriter(file) will clear the positionFile, so I moved this operation to just before writing the positionFile to reduce the probability of positionFile being empty when the program crashes ---------------------------------------------------------------- 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