Skip to content

Rescue ENOENT when discoverer stats a discovered file and its missing #208

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

Merged
merged 1 commit into from
Sep 10, 2018

Conversation

guyboertje
Copy link
Contributor

This is hard to create a meaningful test for this.
The async rm call will have to occur at exactly the right point between a file being discovered and it being deleted.

This patch has been confirmed as a fix by a user (Elastic SDH link in issue 204)

Fixes #204

This is hard to create a meaningful test for this.
The async `rm` call will have to occur at exactly the right point between a file being discovered and it being deleted.

Fixes logstash-plugins#204
@colinsurprenant
Copy link
Contributor

LGTM

@guyboertje guyboertje merged commit 84a46e3 into logstash-plugins:master Sep 10, 2018
@guyboertje guyboertje deleted the fix/204 branch October 23, 2018 10:17
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.

Errno::ENOENT seen in Discoverer when a discovered file is immediately removed.
2 participants