You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by GitBox <gi...@apache.org> on 2021/01/14 10:21:14 UTC

[GitHub] [flume] zhining-lu commented on pull request #334: Shorten the time that positionFile is empty

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:
users@infra.apache.org