#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.

Change History (0)

Note: See TracTickets for help on using tickets.