[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2514: Magic Folder: consider possible "Sorceror's apprentice" problems (was: Magic Folder: consider possible "Magician's apprentice" problems)

Tahoe-LAFS trac at tahoe-lafs.org
Fri Oct 2 20:22:24 UTC 2015


#2514: Magic Folder: consider possible "Sorceror's apprentice" problems
-------------------------------------+-------------------------------------
     Reporter:  daira                |      Owner:  daira
         Type:  task                 |     Status:  new
     Priority:  normal               |  Milestone:  undecided
    Component:  code-frontend-       |    Version:  1.10.1
  magic-folder                       |   Keywords:  magic-folder error
   Resolution:                       |  reliability availability denial-of-
Launchpad Bug:                       |  service
-------------------------------------+-------------------------------------
Description changed by daira:

Old description:

> File synchronization systems are potentially vulnerable to "Magician's
> apprentice" problems where the work done to process a filesystem change
> (local or remote) triggers another filesystem change, ad infinitum.
>
> We have already seen two bugs that could potentially cause this:
> * uploads of "`foo.backup`", "`foo.backup.backup`", etc. before #2428 was
> implemented
> * #2513 could also cause this problem if the node directory in question
> is for a server that is storing shares for the Magic Folder DMD.
>
> Analyse the design for other similar cases.

New description:

 File synchronization systems are potentially vulnerable to "Sorceror's
 apprentice" problems where the work done to process a filesystem change
 (local or remote) triggers another filesystem change, ad infinitum.

 We have already seen two bugs that could potentially cause this:
 * uploads of "`foo.backup`", "`foo.backup.backup`", etc. before #2428 was
 implemented
 * #2513 could also cause this problem if the node directory in question is
 for a server that is storing shares for the Magic Folder DMD.

 Analyse the design for other similar cases.

--

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


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