[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2220: drop-upload on Windows: multiple change events should be suppressed

Tahoe-LAFS trac at tahoe-lafs.org
Mon Apr 14 15:34:51 UTC 2014


#2220: drop-upload on Windows: multiple change events should be suppressed
--------------------------------------+---------------------------
 Reporter:  daira                     |          Owner:
     Type:  defect                    |         Status:  new
 Priority:  normal                    |      Milestone:  undecided
Component:  code-frontend             |        Version:  n/a
 Keywords:  drop-upload windows test  |  Launchpad Bug:
--------------------------------------+---------------------------
 The Windows [http://msdn.microsoft.com/en-
 us/library/aa365465%28v=vs.85%29.aspx ReadDirectoryChangesW] API returns
 multiple events when a file is created or modified. This is correct (the
 file ''has'' been modified multiple times, and the intermediate state is
 observable), but it currently results in redundant uploads, which causes
 the tests to fail.

 On Linux, we use `IN_CLOSE_WRITE` which only fires a single event when a
 file is closed, but Windows has no direct equivalent to that.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2220>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list