wimleers / fileconveyor

File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
https://wimleers.com/fileconveyor
The Unlicense
341 stars 95 forks source link

FSMonitorInotify doesn't properly update PathScanner's DB #72

Closed wimleers closed 13 years ago

wimleers commented 13 years ago

FSMonitorInotify only updates PathScanner's DB (which is necessary to be able to detect changes that have happened while File Conveyor is not running) for the events that it has missed (i.e. the events generated by FSMonitor.generate_missed_events()). It does not update PathScanner's DB for events detected by inotify. This is of course a very critical bug.

This bug singlehandedly causes massive doses of additional work for FSMonitor.generate_missed_events(), since events detected by inotify are simply not propagated to PathScanner's DB!

This was discovered while working on #69.