[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2440: Magic Folder: unlink old versions of files on seeing a newer version

Tahoe-LAFS trac at tahoe-lafs.org
Thu Jul 23 15:20:15 UTC 2015


#2440: Magic Folder: unlink old versions of files on seeing a newer version
-------------------------------------+-------------------------------------
     Reporter:  daira                |      Owner:  daira
         Type:  defect               |     Status:  new
     Priority:  normal               |  Milestone:  eventually
    Component:  code-frontend-       |    Version:  1.10.0
  magic-folder                       |   Keywords:  magic-folder gc space-
   Resolution:                       |  efficiency
Launchpad Bug:                       |
-------------------------------------+-------------------------------------

Comment (by daira):

 Replying to [comment:2 dawuud]:
 > When a magic-folder client discovers a new version of a file within the
 DMD... this means within the DMD but not in our own Tahoe upload
 directory. We must link the DMD file into the client's Tahoe upload dir...
 after unlinking the old file.

 It's not necessary to link the new version into this client's DMD, because
 it is already in the other client's DMD, and we don't rely on all the DMDs
 being eventually the same. What I was intending was that ''if we are
 modifying our own DMD anyway'', we "garbage collect" links to versions
 that are known to be old.

 It would be possible to link the new version at the same time even though
 it isn't required, but that is a separate design decision and not what I
 was intending to refer to by this ticket.

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


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