tahoe-lafs/src/allmydata/mutable
Brian Warner 370e6f271e SDMF: update filenode with correct k/N after Retrieve. Fixes #1510.
Without this, we get a regression when modifying a mutable file that was
created with more shares (larger N) than our current tahoe.cfg . The
modification attempt creates new versions of the (0,1,..,newN-1) shares, but
leaves the old versions of the (newN,..,oldN-1) shares alone (and throws a
assertion error in SDMFSlotWriteProxy.finish_publishing in the process).

The mixed versions that result (some shares with e.g. N=10, some with N=20,
such that both versions are recoverable) cause problems for the Publish code,
even before MDMF landed. Might be related to refs #1390 and refs #1042.
2011-08-27 15:50:31 -07:00
..
__init__.py mutable WIP: split mutable.py into separate files. All tests pass. 2008-04-11 14:31:16 -07:00
checker.py mutable: train checker and repairer to work with MDMF mutable files 2011-08-01 18:51:40 -07:00
common.py replace remaining .html docs with .rst docs 2011-05-10 12:16:50 -07:00
filenode.py MDMF: more writable/writeable consistentifications 2011-08-27 12:06:02 -07:00
layout.py SDMF: update filenode with correct k/N after Retrieve. Fixes #1510. 2011-08-27 15:50:31 -07:00
publish.py mutable/publish: teach the publisher how to publish MDMF mutable files 2011-08-01 18:39:31 -07:00
repairer.py mutable: train checker and repairer to work with MDMF mutable files 2011-08-01 18:51:40 -07:00
retrieve.py SDMF: update filenode with correct k/N after Retrieve. Fixes #1510. 2011-08-27 15:50:31 -07:00
servermap.py mutable/servermap: Rework the servermap to work with MDMF mutable files 2011-08-06 17:42:59 -07:00