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

fix(kubernetes source): Use checksum fingerprinting #1912

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

sciyoshi
Copy link
Contributor

Whenever an inode is reused from an old log file after rotating, Vector will keep the offset and not
process logs. This PR changes the source to use the default fingerprinting strategy instead.

Fixes #1910.

…tends to reuse them

Whenever an inode is reused from an old log file after rotating, Vector will keep the offset and not
process logs.

Signed-off-by: Samuel Cormier-Iijima <samuel@cormier-iijima.com>
Copy link
Contributor

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@LucioFranco LucioFranco changed the title fix(kubernetes source): Don't use inode for fingerprint since Docker tends to reuse them fix(kubernetes source): Use checksum fingerprinting Feb 24, 2020
@LucioFranco LucioFranco merged commit 6a2ab77 into vectordotdev:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes logs stop processing after log rotation
2 participants