Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in_tail: workaround "undeletable file" issue on Windows (#2141)
Windows will not actually delete a file as long as there is any open handler for it. Until we close the last open handler, the file is kept alive as "pending delete". Obviously this has been breaking the log rotation mechanism for some users. Work arount that by checking the "DeletePending" flag manually in tail_fs_check(). Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
- Loading branch information