-
Notifications
You must be signed in to change notification settings - Fork 55
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
Windows: sincedb doesn't handle multiple files #18
Comments
Is this still occurring? Does it affect logstash/logstash? |
I branched and fixed locally. No idea if it was fixed in the main code base. |
Yes - it does affect logstash. See https://logstash.jira.com/browse/LOGSTASH-1216 , which reproduces the bug there. So it would be a good idea to use, say, the absolute path instead of the inode as a backup when the inode is 0. Or just include wemeiers fix. |
This has long been fixed |
The logic for sincedb in filewatch depends on the inode number in stat being a reasonable unique identifier for the file being watched. Unfortunately, the inode number returned by stat in windows is always 0, so multiple files are collapsed into one file, and bizarre behavior results. Perhaps a better identifier is the path in some form?
The text was updated successfully, but these errors were encountered: