From: Kevan Carstensen <kevan@isnotajoke.com>
Date: Thu, 24 Sep 2009 04:19:32 +0000 (-0700)
Subject: Alter CiphertextDownloader to work with servers_of_happiness
X-Git-Tag: trac-4300~1
X-Git-Url: https://git.rkrishnan.org/components/%22news.html/architecture.txt?a=commitdiff_plain;h=89a8da9dd22e176d4f65c834155e4812e872bc09;p=tahoe-lafs%2Ftahoe-lafs.git

Alter CiphertextDownloader to work with servers_of_happiness
---

diff --git a/src/allmydata/immutable/download.py b/src/allmydata/immutable/download.py
index 4b79d9b9..eb02c6aa 100644
--- a/src/allmydata/immutable/download.py
+++ b/src/allmydata/immutable/download.py
@@ -1036,7 +1036,7 @@ class CiphertextDownloader(log.PrefixingLogMixin):
             # Repairer (uploader) needs the encodingparams.
             self._target.set_encodingparams((
                 self._verifycap.needed_shares,
-                self._verifycap.total_shares, # I don't think the target actually cares about "happy".
+                0, # see ticket #778 for why this is
                 self._verifycap.total_shares,
                 self._vup.segment_size
                 ))