Skip to content

WatchServiceDirectoryScanner does not handle OVERFLOW event [INT-3804] #7757

@spring-operator

Description

@spring-operator

samyem tuladhar opened INT-3804 and commented

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.


Affects: 4.2 RC1

Reference URL: http://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html

Referenced from: pull request #1564

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions