[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2469: Magic Folder: better error reporting if metadata in client DMD entries is not as expected

Tahoe-LAFS trac at tahoe-lafs.org
Mon Jan 18 22:48:10 UTC 2016


#2469: Magic Folder: better error reporting if metadata in client DMD entries is
not as expected
--------------------------------------------+------------------------------
     Reporter:  daira                       |      Owner:  daira
         Type:  defect                      |     Status:  new
     Priority:  normal                      |  Milestone:  undecided
    Component:  code-frontend-magic-folder  |    Version:  1.10.1
   Resolution:                              |   Keywords:  magic-folder
Launchpad Bug:                              |  error
--------------------------------------------+------------------------------

Comment (by dawuud):

 ok i've added some logging for the cases when the remote file has no
 'version' in the metadata. If the file objects were uploaded with the
 magic-folder client then they should always have a 'version'.

 https://github.com/david415/tahoe-lafs/tree/2469.error-when-invalid-
 metadata.0

 All the tests pass but I'm not sure this is the right way to implement
 this. Should I instead modify the Downloader's _process method?

 review needed.

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


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