Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLUME-3342:Fix the taildir source read the data duplication. #291

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

zhulh200868
Copy link
Contributor

If the file a.log reaches a certain size, it will be renamed a.log.1 and a new file a.log, then a.log and a.log.1 inode are the same, but the file name is different, the default flume taildir source will think that this is a new file, it will be re-read, that causing data duplication.

@xiaoqingwuku
Copy link

xiaoqingwuku commented Jul 24, 2019

This is not a taildirsource rule.

@iijima-satoshi
Copy link

iijima-satoshi commented May 11, 2022

This can be handled by filename regex in flume.conf. If the filename regex is modified not to include a renamed file, this problem can be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants