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 possible race condition in Cursor #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hailinzeng
Copy link

It is possible to seen a late modification timestamp change after file size has changed.
// host-time file-size file-modified-time
// 12:00 50k 12:00
// 12:01 51k 12:00
// 12:02 51k 12:01 <-
If this happens, and nothing new is written after sleepped 1s in line 293, Cursor will resetRAF and read this file from beginning again !

@hailinzeng
Copy link
Author

missed ')'

@hammer
Copy link

hammer commented Apr 1, 2014

Hey @hailinzeng, Flume is now developed in Apache. Please open a JIRA issue at https://issues.apache.org/jira/browse/FLUME and submit your patch there, following the instructions at https://cwiki.apache.org/confluence/display/FLUME/How+to+Contribute. Thanks for the contribution!

@hailinzeng hailinzeng changed the title fix possable race condition in Cursor fix possible race condition in Cursor Apr 1, 2014
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.

2 participants