Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 4.2 RC1
-
Fix Version/s: 4.2.GA
-
Component/s: File Support
-
Labels:
-
Environment:Replicated in Windows 7 and CentOS 7
-
Pull Request URL:
Description
The WatchServiceDirectoryScanner misses files when WatchService generates OVERFLOW events instead of ENTRY_CREATE. This can happen when a lot of files are getting written into a folder that is being watched and the event generator cannot keep up with the rate of event generation. When this happens, the entire folder needs to be re-scanned again and the watch service restored after all missed files are accounted for.