flume icon indicating copy to clipboard operation
flume copied to clipboard

fix possible race condition in Cursor

Open hailinzeng opened this issue 10 years ago • 2 comments

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 avatar Mar 31 '14 12:03 hailinzeng

missed ')'

hailinzeng avatar Apr 01 '14 07:04 hailinzeng

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!

hammer avatar Apr 01 '14 07:04 hammer