Opened at 2009-02-11T04:35:17Z
Closed at 2009-02-11T08:39:28Z
#620 closed enhancement (fixed)
mutable writev should be able to delete shares
Reported by: | warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.0 |
Component: | code-storage | Version: | 1.2.0 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
A call to testv_and_readv_and_writev() which specifies that the new share length = 0 should be interpreted as meaning that the share should be deleted outright.
This would give the mutable publish/repair code the ability to properly migrate shares to better servers (to accomplish rebalancing), first by writing a new share to the new server, then by removing the old share from the old server.
This doesn't increase the writer's authority at all: if they can fill the share with zeros, or truncate it down to zero bytes, they can do just as much damage as deleting the share would do.
Change History (1)
comment:1 Changed at 2009-02-11T08:39:28Z by warner
- Milestone changed from 1.3.1 to 1.3.0
- Resolution set to fixed
- Status changed from new to closed
Done, in 13a3ef5ec1f651cc.