[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2737: Magic Folder on Windows: test_alice_bob fails because the uploader is processing files we've downloaded

Tahoe-LAFS trac at tahoe-lafs.org
Tue Feb 23 16:19:35 UTC 2016


#2737: Magic Folder on Windows: test_alice_bob fails because the uploader is
processing files we've downloaded
----------------------------------------+------------------------
 Reporter:  daira                       |          Owner:  daira
     Type:  defect                      |         Status:  new
 Priority:  normal                      |      Milestone:  1.11.0
Component:  code-frontend-magic-folder  |        Version:  n/a
 Keywords:  tests windows magic-folder  |  Launchpad Bug:
----------------------------------------+------------------------
 When the downloader writes a file using `_write_downloaded_file`, the
 uploader is supposed to ignore any associated filesystem notifications. On
 both Linux and Windows, notifications for the `.tmp` file are correctly
 ignored. On Linux, the IN_CREATE notification for the downloaded file
 itself is also ignored, because it's a creation of a non-directory.
 (`_write_downloaded_file` works by initially creating a hardlink at the
 new path, which does not cause an IN_CLOSE_WRITE event.)

 On Windows, the `ReplaceFileW` call causes a "modify, attrib" event which
 does (incorrectly) cause the downloaded file to be processed.

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


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