[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3862: Refactor throw_out_all_data feature of allmydata.storage.immutable.BucketWriter
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jan 20 17:37:31 UTC 2022
#3862: Refactor throw_out_all_data feature of
allmydata.storage.immutable.BucketWriter
-------------------------+---------------------------
Reporter: itamarst | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
-------------------------+---------------------------
Right now if `throw_out_all_data` is True, `BucketWriter` doesn't write
anything. Instead of having this logic embedded inside the class, it would
be better to have a `NoopBucketWriter` class that throws data away, and
just swap it out if necessary.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3862>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list