Opened at 2022-01-20T17:37:30Z
#3862 new enhancement
Refactor throw_out_all_data feature of allmydata.storage.immutable.BucketWriter
Reported by: | itamarst | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
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.
Note: See
TracTickets for help on using
tickets.