[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3561: allmydata.immutable.offloaded.LocalCiphertextReader claims to implement IEncryptedUploadable but does not implement set_upload_status

Tahoe-LAFS trac at tahoe-lafs.org
Tue Dec 15 14:56:46 UTC 2020


#3561: allmydata.immutable.offloaded.LocalCiphertextReader claims to implement
IEncryptedUploadable but does not implement set_upload_status
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 At best, this means there's some current or future codepath where someone
 tries to use a LocalCipherTextReader as if it were an IEncryptedUploadable
 and creates a bug because it isn't really one.

 More realistically, I think this is a symptom of the way status is
 propagated through the system relying on an interface that conflates
 unrelated things.  We should probably look at changing the way statuses
 work so that not every thing that we might want to watch for status needs
 these duplicative methods.

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


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