[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2880: Magic-folder needlessly creates ".backup" files after restart

Tahoe-LAFS trac at tahoe-lafs.org
Wed Sep 27 17:18:55 UTC 2017


#2880: Magic-folder needlessly creates ".backup" files after restart
-------------------------+--------------------------
     Reporter:  cypher   |      Owner:
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  undecided
    Component:  unknown  |    Version:  1.12.1
   Resolution:           |   Keywords:  magic-folder
Launchpad Bug:           |
-------------------------+--------------------------

Comment (by meejah):

 So what's happening is that when we upload a file, we don't set
 ``last_downloaded_uri`` in the local metadata. So then when we do a re-
 scan (at the next startup) we decide to download based on this missing
 URI. Every time a file is downloaded (and already exists locally) we make
 a .backup

 The right fix is to set ``last_downloaded_uri`` upon upload, I believe --
 thus we won't re-download the file on the next startup.

 (Note this only happens *once* per new file we upload, not every startup).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2880#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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