Sun Dec 08 03:46:07 2013carsten [...] wolffcarsten.de - Ticket created
Subject:
Missing event when moving
Date:
Sun, 08 Dec 2013 09:45:56 +0100
To:
bug-AnyEvent-Filesys-Notify [...] rt.cpan.org
From:
Carsten Wolff <carsten [...] wolffcarsten.de>
Hi,
imagine two files test1 and test2 within a watched directory, which where
created within the same second. When I `mv test1 test2`, no event for test2
will be generated by AEFN. The reason is, that AEFN uses a comparison of mtime
to detect changes, but mtime only has a 1-sec. resolution.
Cheers
Carsten
Tue Dec 10 11:19:17 2013mgrimes [...] cpan.org - Correspondence added
Most filesystems only have second resolution on their timestamps, and repeatedly computing a hash for every file is too inefficient. So I think we are stuck with this behavior unless we parse the event data.
The next release (already on github) will support parsing events on some platforms (Inotify2 initially).
Tue Dec 10 11:19:18 2013The RT System itself - Status changed from 'new' to 'open'
Tue Dec 10 11:19:18 2013mgrimes [...] cpan.org - Status changed from 'open' to 'resolved'