1 | 1 patch for repository /home/davidsarah/tahoe/newtrunk: |
---|
2 | |
---|
3 | Fri Dec 16 21:00:11 GMT 2011 david-sarah@jacaranda.org |
---|
4 | * Add docs/storage.rst. |
---|
5 | |
---|
6 | New patches: |
---|
7 | |
---|
8 | [Add docs/storage.rst. |
---|
9 | david-sarah@jacaranda.org**20111216210011 |
---|
10 | Ignore-this: 8a9a31914769271a8d5b14faf988e549 |
---|
11 | ] { |
---|
12 | addfile ./docs/storage.rst |
---|
13 | hunk ./docs/storage.rst 1 |
---|
14 | +============= |
---|
15 | +Share Storage |
---|
16 | +============= |
---|
17 | + |
---|
18 | +Tahoe-LAFS storage servers are configured to use a storage backend that can currently |
---|
19 | +be either "disk" or "S3". There is also a "null" backend that is only used for debugging |
---|
20 | +and tests. |
---|
21 | + |
---|
22 | +For information on how to configure backends, see `<configuration.rst>`_ and the |
---|
23 | +documentation in the `<backends> docs/backends`_ directory. |
---|
24 | + |
---|
25 | +For notes on tuning specific filesystems for the disk backend, see |
---|
26 | +`<filesystem_notes.rst>`_. |
---|
27 | + |
---|
28 | +The rest of this document describes how shares are laid out either on disk or as |
---|
29 | +objects in an S3 bucket. For a disk backend, the paths below are relative to the |
---|
30 | +node's ``storage`` directory, which is an immediate child of its base directory. |
---|
31 | +For an S3 backend, they are relative to the root of the configured S3 bucket. |
---|
32 | + |
---|
33 | +``$STORAGEINDEX`` means the modified-base32 form of a storage index. |
---|
34 | + |
---|
35 | +``$PREFIX`` is the first two characters of the corresponding ``$STORAGEINDEX``. |
---|
36 | + |
---|
37 | +``$SHNUM`` is the share number (as generated by erasure encoding) in decimal. |
---|
38 | + |
---|
39 | +Each share file is stored at a path ``shares/$PREFIX/$STORAGEINDEX/$SHNUM``. |
---|
40 | +Different formats are used for immutable and mutable shares; see |
---|
41 | +src/allmydata/immutable/layout.py and src/allmydata/mutable/layout.py for details |
---|
42 | +of these formats. |
---|
43 | + |
---|
44 | +For the disk backend, incoming shares are stored in temporary files at |
---|
45 | +``shares/incoming/$PREFIX/$STORAGEINDEX/$SHNUM``, and moved to |
---|
46 | +``shares/$PREFIX/$STORAGEINDEX/$SHNUM`` upon success. The S3 backend does not |
---|
47 | +currently use temporary files. |
---|
48 | + |
---|
49 | +The disk backend stores leases in share files (the lease information is duplicated |
---|
50 | +in all shares of a given shareset). The S3 backend does not currently support leases; |
---|
51 | +the same share file formats are used but the lease information is empty. |
---|
52 | + |
---|
53 | +Since the same formats and layout are used, share files can be transferred between |
---|
54 | +backend types. In the case of mutable shares, this has the same caveats as transferring |
---|
55 | +share files between servers, i.e. if the nodeid is different then existing write |
---|
56 | +enablers will not be valid for the new server. |
---|
57 | } |
---|
58 | |
---|
59 | Context: |
---|
60 | |
---|
61 | [setup.py: stop putting pyutil.version_class/etc in _version.py |
---|
62 | Brian Warner <warner@lothar.com>**20111205055049 |
---|
63 | Ignore-this: 926fa9a8a34a04f24ee6e006423e9c1 |
---|
64 | |
---|
65 | allmydata.__version__ can just be a string, it doesn't need to be an instance |
---|
66 | of some fancy NormalizedVersion class. Everything inside Tahoe uses |
---|
67 | str(__version__) anyways. |
---|
68 | |
---|
69 | Also add .dev0 when a git tree is dirty. |
---|
70 | |
---|
71 | Closes #1466 |
---|
72 | ] |
---|
73 | [setup.py: get version from git or darcs |
---|
74 | Brian Warner <warner@lothar.com>**20111205044001 |
---|
75 | Ignore-this: 5a406b33000446d85edc722298391220 |
---|
76 | |
---|
77 | This replaces the setup.cfg aliases that run "darcsver" before each major |
---|
78 | command with the new "update_version". update_version is defined in setup.py, |
---|
79 | and tries to get a version string from either darcs or git (or leaves the |
---|
80 | existing _version.py alone if neither VC metadata is available). |
---|
81 | |
---|
82 | Also clean up a tiny typo in verlib.py that messed up syntax hilighting. |
---|
83 | ] |
---|
84 | [Munge the umids in introducer/{client,server}.py so that check-umids doesn't complain about them being duplicates of the ones in introducer/old.py. refs #466 |
---|
85 | david-sarah@jacaranda.org**20111129234057 |
---|
86 | Ignore-this: da053d962ccb32d197ef0f123013acbb |
---|
87 | ] |
---|
88 | [new introducer: tests for signed extensible dictionary-based messages. refs #466 |
---|
89 | david-sarah@jacaranda.org**20111129231920 |
---|
90 | Ignore-this: 751ed1c993688f838d343423ff68b716 |
---|
91 | ] |
---|
92 | [new introducer: signed extensible dictionary-based messages! This patch does not include the tests. refs #466 |
---|
93 | david-sarah@jacaranda.org**20111129231756 |
---|
94 | Ignore-this: 18bc491a44f7627202667ef681f2d948 |
---|
95 | |
---|
96 | This introduces new client and server halves to the Introducer (renaming |
---|
97 | the old one with a _V1 suffix). Both have fallbacks to accomodate talking to |
---|
98 | a different version: the publishing client switches on whether the server's |
---|
99 | .get_version() advertises V2 support, the server switches on which |
---|
100 | subscription method was invoked by the subscribing client. |
---|
101 | |
---|
102 | The V2 protocol sends a three-tuple of (serialized announcement dictionary, |
---|
103 | signature, pubkey) for each announcement. The V2 server dispatches messages |
---|
104 | to subscribers according to the service-name, and throws errors for invalid |
---|
105 | signatures, but does not otherwise examine the messages. The V2 receiver's |
---|
106 | subscription callback will receive a (serverid, ann_dict) pair. The |
---|
107 | 'serverid' will be equal to the pubkey if all of the following are true: |
---|
108 | |
---|
109 | the originating client is V2, and was told a privkey to use |
---|
110 | the announcement went through a V2 server |
---|
111 | the signature is valid |
---|
112 | |
---|
113 | If not, 'serverid' will be equal to the tubid portion of the announced FURL, |
---|
114 | as was the case for V1 receivers. |
---|
115 | |
---|
116 | Servers will create a keypair if one does not exist yet, stored in |
---|
117 | private/server.privkey . |
---|
118 | |
---|
119 | The signed announcement dictionary puts the server FURL in a key named |
---|
120 | "anonymous-storage-FURL", which anticipates upcoming Accounting-related |
---|
121 | changes in the server advertisements. It also provides a key named |
---|
122 | "permutation-seed-base32" to tell clients what permutation seed to use. |
---|
123 | This is computed at startup, using tubid if there are existing shares, |
---|
124 | otherwise the pubkey, to retain share-order compatibility for existing |
---|
125 | servers. |
---|
126 | ] |
---|
127 | [docs/known_issues.rst: describe when the unauthorized access attack is known to be possible, and fix a link. |
---|
128 | david-sarah@jacaranda.org**20111118002013 |
---|
129 | Ignore-this: d89b1f1040a0a7ee0bde893d23612049 |
---|
130 | ] |
---|
131 | [more tiny buildbot-testing whitespace changes |
---|
132 | warner@lothar.com**20111118002041 |
---|
133 | Ignore-this: e816e2a5ab939e2f7a89ef12b8a157d8 |
---|
134 | ] |
---|
135 | [more tiny buildbot-testing whitespace changes |
---|
136 | warner@lothar.com**20111118001828 |
---|
137 | Ignore-this: 57bb52cba83ea9a19728ba0a8ffadb69 |
---|
138 | ] |
---|
139 | [tiny change to exercise the buildbot hook |
---|
140 | warner@lothar.com**20111118001511 |
---|
141 | Ignore-this: 7220b7790b39f19f9721d9e93b755030 |
---|
142 | ] |
---|
143 | [Strengthen description of unauthorized access attack in known_issues.rst. |
---|
144 | david-sarah@jacaranda.org**20111118000030 |
---|
145 | Ignore-this: e2f68f621fe666b6201542623aa4d182 |
---|
146 | ] |
---|
147 | [remove remaining uses of nevow's "formless" module |
---|
148 | Brian Warner <warner@lothar.com>**20111117225423 |
---|
149 | Ignore-this: a128dea91a1c63b3bbefa34729344d69 |
---|
150 | |
---|
151 | We're slowly moving away from Nevow, and marcusw's previous patch removed |
---|
152 | uses of the formless CSS file, so now we can stop testing that nevow can find |
---|
153 | that file, and remove the lingering unused "import formless" call. |
---|
154 | ] |
---|
155 | [1585-webui.darcs.patch |
---|
156 | Marcus Wanner <marcus@wanners.net>**20111117214923 |
---|
157 | Ignore-this: 23cf2a06c545be5f821c071d652178ee |
---|
158 | ] |
---|
159 | [Remove duplicate tahoe_css links from manifest.xhtml and rename-form.xhtml |
---|
160 | Brian Warner <warner@lothar.com>**20111116224225 |
---|
161 | Ignore-this: 12024fff17964607799928928b9aadf3 |
---|
162 | |
---|
163 | They were probably meant to be links to webform_css, but we aren't really |
---|
164 | using Nevow's form-generation code anyways, so they can just be removed. |
---|
165 | Thanks to 'marcusw' for the catch. |
---|
166 | ] |
---|
167 | [iputil: handle openbsd5 (just like openbsd4) |
---|
168 | Brian Warner <warner@lothar.com>**20111115220423 |
---|
169 | Ignore-this: 64b28bd2fd06eb5230ea41d91540dd05 |
---|
170 | |
---|
171 | Patch by 'sickness'. Closes #1584 |
---|
172 | ] |
---|
173 | [Makefile count-lines: let it work on OS-X (-l not --lines), add XXX |
---|
174 | Brian Warner <warner@lothar.com>**20111109184227 |
---|
175 | Ignore-this: 204ace1dadc9ed27543c62965b4e6757 |
---|
176 | |
---|
177 | OS-X's simple-minded /usr/bin/wc doesn't understand --lines, but everyone |
---|
178 | understands -l . |
---|
179 | ] |
---|
180 | [setup.py: umask=022 for 'sdist', to avoid depending on environment |
---|
181 | Brian Warner <warner@lothar.com>**20111109183632 |
---|
182 | Ignore-this: acd5db88ba8f1972d618b14f9e5b803c |
---|
183 | |
---|
184 | The new tarball-building buildslave had a bogus umask set, causing the 1.9.0 |
---|
185 | tarballs to be non-other-user-readable (go-rwx), which is a hassle for |
---|
186 | packaging. (The umask was correct on the old buildslave, but it was moved to |
---|
187 | a new host shortly before the release). This should make sure tarballs are |
---|
188 | correct despite the host's setting. |
---|
189 | |
---|
190 | Note to others: processes run under twistd get umask=077 unless you arrange |
---|
191 | otherwise. |
---|
192 | ] |
---|
193 | [_auto_deps.py: blacklist PyCrypto 2.4. |
---|
194 | david-sarah@jacaranda.org**20111105022457 |
---|
195 | Ignore-this: 876cb24bc71589e735f48bf449cad81e |
---|
196 | ] |
---|
197 | [check-miscaptures.py: report the number of files that were not analysed due to syntax errors (and don't count them in the number of suspicious captures). refs #1555 |
---|
198 | david-sarah@jacaranda.org**20111009050301 |
---|
199 | Ignore-this: 62ee03f4b8a96c292e75c097ad87d52e |
---|
200 | ] |
---|
201 | [check-miscaptures.py: handle corner cases around default arguments correctly. Also make a minor optimization when there are no assigned variables to consider. refs #1555 |
---|
202 | david-sarah@jacaranda.org**20111009045023 |
---|
203 | Ignore-this: f49ece515620081da1d745ae6da19d21 |
---|
204 | ] |
---|
205 | [check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555 |
---|
206 | david-sarah@jacaranda.org**20111009044800 |
---|
207 | Ignore-this: 4905c9dfe7726f433333e216a6760a4b |
---|
208 | ] |
---|
209 | [check-miscaptures.py: handle destructuring function arguments correctly. refs #1555 |
---|
210 | david-sarah@jacaranda.org**20111009044710 |
---|
211 | Ignore-this: f9de7d95e94446507a206c88d3f98a23 |
---|
212 | ] |
---|
213 | [check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555 |
---|
214 | david-sarah@jacaranda.org**20111009044022 |
---|
215 | Ignore-this: 6526e4e315ca6461b1fbc2da5568e444 |
---|
216 | ] |
---|
217 | [Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of variables declared in a for loop, and a 'make check-miscaptures' Makefile target to run it. (It is also run by 'make code-checks'.) This is a rewritten version that reports much fewer false positives, by determining captured variables more accurately. fixes #1555 |
---|
218 | david-sarah@jacaranda.org**20111007074121 |
---|
219 | Ignore-this: 51318e9678d132c374ea557ab955e79e |
---|
220 | ] |
---|
221 | [Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 |
---|
222 | david-sarah@jacaranda.org**20111007033031 |
---|
223 | Ignore-this: 7daf5862469732d8cabc355266622b74 |
---|
224 | ] |
---|
225 | [Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557 |
---|
226 | david-sarah@jacaranda.org**20111007032958 |
---|
227 | Ignore-this: 31376ec01401df7972e83341dc65aa05 |
---|
228 | ] |
---|
229 | [show-tool-versions: tolerate missing setuptools |
---|
230 | Brian Warner <warner@lothar.com>**20111101080010 |
---|
231 | Ignore-this: 72d4e440565273992beb4f010cbca699 |
---|
232 | ] |
---|
233 | [show-tool-versions.py: condense output, hide file-not-found exceptions |
---|
234 | Brian Warner <warner@lothar.com>**20111101074532 |
---|
235 | Ignore-this: a15381a76077ef46a74a4ac40c9ae956 |
---|
236 | ] |
---|
237 | [relnotes.txt: fix footnotes |
---|
238 | Brian Warner <warner@lothar.com>**20111101071935 |
---|
239 | Ignore-this: 668c1bd8618e21beed9bc6b23f048189 |
---|
240 | ] |
---|
241 | [Rewrite download-status-timeline visualizer ('viz') with d3.js |
---|
242 | Brian Warner <warner@lothar.com>**20111101061821 |
---|
243 | Ignore-this: 6149b027bbae52c559ef5a8167240cab |
---|
244 | |
---|
245 | * use d3.js v2.4.6 |
---|
246 | * add a "toggle misc events" button, to get hash/bitmap-checking details |
---|
247 | * only draw data that's on screen, for speed |
---|
248 | * add fragment-arg to fetch timeline data.json from somewhere else |
---|
249 | ] |
---|
250 | [IServer refactoring: pass IServer instances around, instead of peerids |
---|
251 | Brian Warner <warner@lothar.com>**20111101040319 |
---|
252 | Ignore-this: 35e4698a0273a0311fe0ccedcc7881b5 |
---|
253 | |
---|
254 | refs #1363 |
---|
255 | |
---|
256 | This collapses 88 small incremental changes (each of which passes all tests) |
---|
257 | into one big patch. The development process for the long path started with |
---|
258 | adding some temporary scaffolding, changing one method at a time, then |
---|
259 | removing the scaffolding. The individual pieces are as follows, in reverse |
---|
260 | chronological order (the first patch is at the end of this comment): |
---|
261 | |
---|
262 | commit 9bbe4174fd0d98a6cf47a8ef96e85d9ef34b2f9a |
---|
263 | Author: Brian Warner <warner@lothar.com> |
---|
264 | Date: Tue Oct 4 16:05:00 2011 -0400 |
---|
265 | |
---|
266 | immutable/downloader/status.py: correct comment |
---|
267 | |
---|
268 | src/allmydata/immutable/downloader/status.py | 2 +- |
---|
269 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
270 | |
---|
271 | commit 72146a7c7c91eac2f7c3ceb801eb7a1721376889 |
---|
272 | Author: Brian Warner <warner@lothar.com> |
---|
273 | Date: Tue Oct 4 15:46:20 2011 -0400 |
---|
274 | |
---|
275 | remove temporary ServerMap._storage_broker |
---|
276 | |
---|
277 | src/allmydata/mutable/checker.py | 2 +- |
---|
278 | src/allmydata/mutable/filenode.py | 2 +- |
---|
279 | src/allmydata/mutable/publish.py | 2 +- |
---|
280 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
281 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
282 | 5 files changed, 9 insertions(+), 10 deletions(-) |
---|
283 | |
---|
284 | commit d703096b41632c47d76414b12672e076a422ff5c |
---|
285 | Author: Brian Warner <warner@lothar.com> |
---|
286 | Date: Tue Oct 4 15:37:05 2011 -0400 |
---|
287 | |
---|
288 | remove temporary storage_broker.get_server_for_id() |
---|
289 | |
---|
290 | src/allmydata/storage_client.py | 3 --- |
---|
291 | src/allmydata/test/no_network.py | 13 ------------- |
---|
292 | 2 files changed, 0 insertions(+), 16 deletions(-) |
---|
293 | |
---|
294 | commit 620cc5d80882ef6f7decfd26af8a6c7c1ddf80d1 |
---|
295 | Author: Brian Warner <warner@lothar.com> |
---|
296 | Date: Tue Oct 4 12:50:06 2011 -0400 |
---|
297 | |
---|
298 | API of Retrieve._try_to_validate_privkey(), trying to remove reader.server |
---|
299 | |
---|
300 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
301 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
302 | |
---|
303 | commit 92f43f856f4a8b36c207d1b190ed8699b5a4ecb4 |
---|
304 | Author: Brian Warner <warner@lothar.com> |
---|
305 | Date: Tue Oct 4 12:48:08 2011 -0400 |
---|
306 | |
---|
307 | API of Retrieve._validate_block(), trying to remove reader.server |
---|
308 | |
---|
309 | src/allmydata/mutable/retrieve.py | 14 +++++++------- |
---|
310 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
311 | |
---|
312 | commit 572d5070761861a2190349d1ed8d85dbc25698a5 |
---|
313 | Author: Brian Warner <warner@lothar.com> |
---|
314 | Date: Tue Oct 4 12:36:58 2011 -0400 |
---|
315 | |
---|
316 | API of Retrieve._mark_bad_share(), trying to remove reader.server |
---|
317 | |
---|
318 | src/allmydata/mutable/retrieve.py | 21 +++++++++------------ |
---|
319 | 1 files changed, 9 insertions(+), 12 deletions(-) |
---|
320 | |
---|
321 | commit a793ff00c0de1e2eec7b46288fdf388c7a2bec89 |
---|
322 | Author: Brian Warner <warner@lothar.com> |
---|
323 | Date: Tue Oct 4 12:06:13 2011 -0400 |
---|
324 | |
---|
325 | remove now-unused get_rref_for_serverid() |
---|
326 | |
---|
327 | src/allmydata/mutable/servermap.py | 3 --- |
---|
328 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
329 | |
---|
330 | commit 1b9827cc9366bf90b93297fdd6832f2ad0480ce7 |
---|
331 | Author: Brian Warner <warner@lothar.com> |
---|
332 | Date: Tue Oct 4 12:03:09 2011 -0400 |
---|
333 | |
---|
334 | Retrieve: stop adding .serverid attributes to readers |
---|
335 | |
---|
336 | src/allmydata/mutable/retrieve.py | 1 - |
---|
337 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
338 | |
---|
339 | commit 5d4e9d491b19e49d2e443a1dfff2c672842c36ef |
---|
340 | Author: Brian Warner <warner@lothar.com> |
---|
341 | Date: Tue Oct 4 12:03:34 2011 -0400 |
---|
342 | |
---|
343 | return value of Retrieve(verify=True) |
---|
344 | |
---|
345 | src/allmydata/mutable/checker.py | 11 ++++++----- |
---|
346 | src/allmydata/mutable/retrieve.py | 3 +-- |
---|
347 | 2 files changed, 7 insertions(+), 7 deletions(-) |
---|
348 | |
---|
349 | commit e9ab7978c384e1f677cb7779dc449b1044face82 |
---|
350 | Author: Brian Warner <warner@lothar.com> |
---|
351 | Date: Tue Oct 4 11:54:23 2011 -0400 |
---|
352 | |
---|
353 | Retrieve._bad_shares (but not return value, used by Verifier) |
---|
354 | |
---|
355 | src/allmydata/mutable/retrieve.py | 7 ++++--- |
---|
356 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
357 | |
---|
358 | commit 2d91926de233ec5c881f30e36b4a30ad92ab42a9 |
---|
359 | Author: Brian Warner <warner@lothar.com> |
---|
360 | Date: Tue Oct 4 11:51:23 2011 -0400 |
---|
361 | |
---|
362 | Publish: stop adding .serverid attributes to writers |
---|
363 | |
---|
364 | src/allmydata/mutable/publish.py | 9 ++------- |
---|
365 | 1 files changed, 2 insertions(+), 7 deletions(-) |
---|
366 | |
---|
367 | commit 47c7a0105dec7cbf4f7e0a3ce800bbb85b15df4a |
---|
368 | Author: Brian Warner <warner@lothar.com> |
---|
369 | Date: Tue Oct 4 11:56:33 2011 -0400 |
---|
370 | |
---|
371 | API of get_write_enabler() |
---|
372 | |
---|
373 | src/allmydata/mutable/filenode.py | 7 ++++--- |
---|
374 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
375 | src/allmydata/test/no_network.py | 3 +++ |
---|
376 | 3 files changed, 9 insertions(+), 5 deletions(-) |
---|
377 | |
---|
378 | commit 9196a5c6590fdbfd660325ea8358b345887d3db0 |
---|
379 | Author: Brian Warner <warner@lothar.com> |
---|
380 | Date: Tue Oct 4 11:46:24 2011 -0400 |
---|
381 | |
---|
382 | API of get_(renewal|cancel)_secret() |
---|
383 | |
---|
384 | src/allmydata/mutable/filenode.py | 14 ++++++++------ |
---|
385 | src/allmydata/mutable/publish.py | 8 ++++---- |
---|
386 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
387 | 3 files changed, 14 insertions(+), 13 deletions(-) |
---|
388 | |
---|
389 | commit de7c1552f8c163eff5b6d820b5fb3b21c1b47cb5 |
---|
390 | Author: Brian Warner <warner@lothar.com> |
---|
391 | Date: Tue Oct 4 11:41:52 2011 -0400 |
---|
392 | |
---|
393 | API of CorruptShareError. Also comment out some related+unused test_web.py code |
---|
394 | |
---|
395 | src/allmydata/mutable/common.py | 13 +++++-------- |
---|
396 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
397 | src/allmydata/mutable/servermap.py | 8 +++----- |
---|
398 | src/allmydata/test/common.py | 13 ++++++++----- |
---|
399 | 4 files changed, 21 insertions(+), 23 deletions(-) |
---|
400 | |
---|
401 | commit 2c1c314046b620c16f1e66d030c150d768b7d01e |
---|
402 | Author: Brian Warner <warner@lothar.com> |
---|
403 | Date: Tue Oct 4 12:01:46 2011 -0400 |
---|
404 | |
---|
405 | API of ServerMap.mark_bad_share() |
---|
406 | |
---|
407 | src/allmydata/mutable/publish.py | 2 +- |
---|
408 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
409 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
410 | src/allmydata/test/test_mutable.py | 3 +-- |
---|
411 | 4 files changed, 7 insertions(+), 10 deletions(-) |
---|
412 | |
---|
413 | commit 1bed349030779fd0c378ae4e821384f953c6f6ff |
---|
414 | Author: Brian Warner <warner@lothar.com> |
---|
415 | Date: Tue Oct 4 11:11:17 2011 -0400 |
---|
416 | |
---|
417 | API+name of ServerMap.shares_on_server() : only for tests, so debug_ prefix |
---|
418 | |
---|
419 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
420 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
421 | 2 files changed, 5 insertions(+), 8 deletions(-) |
---|
422 | |
---|
423 | commit 2d32e448677d6b818692e801045d4115b29abf21 |
---|
424 | Author: Brian Warner <warner@lothar.com> |
---|
425 | Date: Tue Oct 4 11:07:10 2011 -0400 |
---|
426 | |
---|
427 | API of ServerMap.all_servers_for_version() |
---|
428 | |
---|
429 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
430 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
431 | |
---|
432 | commit 48f3204d1889c3e7179578125c4bdef515af3d6a |
---|
433 | Author: Brian Warner <warner@lothar.com> |
---|
434 | Date: Tue Oct 4 11:04:50 2011 -0400 |
---|
435 | |
---|
436 | internals of ServerMap methods that use make_versionmap(), remove temp copy |
---|
437 | |
---|
438 | src/allmydata/mutable/servermap.py | 28 +++++++++---------------- |
---|
439 | 1 files changed, 10 insertions(+), 18 deletions(-) |
---|
440 | |
---|
441 | commit 5c3da77b6c777a145bd5ddfaa4db849dc9495548 |
---|
442 | Author: Brian Warner <warner@lothar.com> |
---|
443 | Date: Tue Oct 4 11:01:28 2011 -0400 |
---|
444 | |
---|
445 | API of ServerMap.make_versionmap() |
---|
446 | |
---|
447 | src/allmydata/mutable/checker.py | 4 ++-- |
---|
448 | src/allmydata/mutable/retrieve.py | 5 ++--- |
---|
449 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
450 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
451 | 4 files changed, 10 insertions(+), 10 deletions(-) |
---|
452 | |
---|
453 | commit b6882ece49afb4c507d118af2db346fa329209dc |
---|
454 | Author: Brian Warner <warner@lothar.com> |
---|
455 | Date: Tue Oct 4 10:53:38 2011 -0400 |
---|
456 | |
---|
457 | make a copy of ServerMap.make_versionmap() (_make_versionmap2) for internal use |
---|
458 | |
---|
459 | src/allmydata/mutable/servermap.py | 18 +++++++++++++----- |
---|
460 | 1 files changed, 13 insertions(+), 5 deletions(-) |
---|
461 | |
---|
462 | commit 963f8e63faf32b950eb1b8103cd2ff16fe8f0151 |
---|
463 | Author: Brian Warner <warner@lothar.com> |
---|
464 | Date: Tue Oct 4 00:45:58 2011 -0400 |
---|
465 | |
---|
466 | API of RetrieveStatus.add_problem() |
---|
467 | |
---|
468 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
469 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
470 | |
---|
471 | commit 4976d29ffae565a048851601c29013bbae2976d8 |
---|
472 | Author: Brian Warner <warner@lothar.com> |
---|
473 | Date: Tue Oct 4 00:45:05 2011 -0400 |
---|
474 | |
---|
475 | API of RetrieveStatus.add_fetch_timing() |
---|
476 | |
---|
477 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
478 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
479 | |
---|
480 | commit d057d3bbba72663ee148a8b916bc2d52be2e3982 |
---|
481 | Author: Brian Warner <warner@lothar.com> |
---|
482 | Date: Tue Oct 4 00:44:04 2011 -0400 |
---|
483 | |
---|
484 | API of Retrieve.notify_server_corruption() |
---|
485 | |
---|
486 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
487 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
488 | |
---|
489 | commit 8a2a81e46671c860610e0e96d6add1a57551f22d |
---|
490 | Author: Brian Warner <warner@lothar.com> |
---|
491 | Date: Tue Oct 4 00:42:32 2011 -0400 |
---|
492 | |
---|
493 | remove unused _outstanding_queries |
---|
494 | |
---|
495 | src/allmydata/mutable/retrieve.py | 1 - |
---|
496 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
497 | |
---|
498 | commit 56d12cc9968d03ccd53764455c671122c4f391d1 |
---|
499 | Author: Brian Warner <warner@lothar.com> |
---|
500 | Date: Tue Oct 4 00:40:57 2011 -0400 |
---|
501 | |
---|
502 | change Retrieve.remaining_sharemap |
---|
503 | |
---|
504 | src/allmydata/mutable/retrieve.py | 4 ++-- |
---|
505 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
506 | |
---|
507 | commit 4f0b7af4821f43290bfc70f2b1fc30149ad81281 |
---|
508 | Author: Brian Warner <warner@lothar.com> |
---|
509 | Date: Tue Oct 4 10:40:18 2011 -0400 |
---|
510 | |
---|
511 | accessor for PublishStatus._problems |
---|
512 | |
---|
513 | src/allmydata/mutable/publish.py | 4 +++- |
---|
514 | src/allmydata/web/status.py | 2 +- |
---|
515 | 2 files changed, 4 insertions(+), 2 deletions(-) |
---|
516 | |
---|
517 | commit 627087cf66d0b8cc519f4d551a967a7bd9b6a741 |
---|
518 | Author: Brian Warner <warner@lothar.com> |
---|
519 | Date: Tue Oct 4 10:36:39 2011 -0400 |
---|
520 | |
---|
521 | accessor for RetrieveStatus._problems |
---|
522 | |
---|
523 | src/allmydata/mutable/retrieve.py | 8 ++++++-- |
---|
524 | src/allmydata/web/status.py | 2 +- |
---|
525 | 2 files changed, 7 insertions(+), 3 deletions(-) |
---|
526 | |
---|
527 | commit ca7dea81f03801b1c7353fc00ecba689268109cf |
---|
528 | Author: Brian Warner <warner@lothar.com> |
---|
529 | Date: Tue Oct 4 00:35:32 2011 -0400 |
---|
530 | |
---|
531 | add .server to "reader", so we can get at it later |
---|
532 | |
---|
533 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
534 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
535 | |
---|
536 | commit 6ef516e24908ec195af084a7550d1921a5e983b0 |
---|
537 | Author: Brian Warner <warner@lothar.com> |
---|
538 | Date: Tue Oct 4 00:32:32 2011 -0400 |
---|
539 | |
---|
540 | temporarily give Retrieve a _storage_broker, so it can map serverids to servers |
---|
541 | |
---|
542 | src/allmydata/mutable/checker.py | 3 ++- |
---|
543 | src/allmydata/mutable/filenode.py | 6 ++++-- |
---|
544 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
545 | src/allmydata/test/test_mutable.py | 4 ++-- |
---|
546 | 4 files changed, 11 insertions(+), 7 deletions(-) |
---|
547 | |
---|
548 | commit afe08e4dd3f4ff9ff7e8a2a8d28b181e3625bcc9 |
---|
549 | Author: Brian Warner <warner@lothar.com> |
---|
550 | Date: Tue Oct 4 00:21:51 2011 -0400 |
---|
551 | |
---|
552 | mutable/retrieve.py: s/peer/server/ |
---|
553 | |
---|
554 | src/allmydata/mutable/retrieve.py | 82 +++++++++++++------------- |
---|
555 | src/allmydata/test/test_mutable.py | 6 +- |
---|
556 | 2 files changed, 44 insertions(+), 44 deletions(-) |
---|
557 | |
---|
558 | commit 910afcb5d7f274880f68dd6cdb5b05f2bbc29adc |
---|
559 | Author: Brian Warner <warner@lothar.com> |
---|
560 | Date: Tue Oct 4 00:16:01 2011 -0400 |
---|
561 | |
---|
562 | web.status.PublishStatusPage: add comment, I think .problems isn't exercised |
---|
563 | |
---|
564 | src/allmydata/web/status.py | 2 ++ |
---|
565 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
566 | |
---|
567 | commit 311466dd8c931bbba40d590ade867704282e7f1a |
---|
568 | Author: Brian Warner <warner@lothar.com> |
---|
569 | Date: Mon Oct 3 23:48:16 2011 -0400 |
---|
570 | |
---|
571 | API of PublishStatus.add_per_server_time() |
---|
572 | |
---|
573 | src/allmydata/mutable/publish.py | 5 +++-- |
---|
574 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
575 | |
---|
576 | commit 2df5faa1b6cbfbaded520d2320305a62fe961118 |
---|
577 | Author: Brian Warner <warner@lothar.com> |
---|
578 | Date: Mon Oct 3 23:46:37 2011 -0400 |
---|
579 | |
---|
580 | more simplifications |
---|
581 | |
---|
582 | src/allmydata/mutable/publish.py | 4 +--- |
---|
583 | 1 files changed, 1 insertions(+), 3 deletions(-) |
---|
584 | |
---|
585 | commit 6ac4544a3da385f2aad9392f906b90192f4f919a |
---|
586 | Author: Brian Warner <warner@lothar.com> |
---|
587 | Date: Mon Oct 3 23:44:08 2011 -0400 |
---|
588 | |
---|
589 | API of ServerMap.version_on_server() |
---|
590 | |
---|
591 | src/allmydata/mutable/publish.py | 2 +- |
---|
592 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
593 | src/allmydata/test/test_mutable.py | 5 ++--- |
---|
594 | 3 files changed, 5 insertions(+), 6 deletions(-) |
---|
595 | |
---|
596 | commit 3e187e322511072e4683329df6b2c6c733a66dba |
---|
597 | Author: Brian Warner <warner@lothar.com> |
---|
598 | Date: Tue Oct 4 00:16:32 2011 -0400 |
---|
599 | |
---|
600 | API of ServerMap.make_sharemap() |
---|
601 | |
---|
602 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
603 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
604 | src/allmydata/web/status.py | 4 ++-- |
---|
605 | 3 files changed, 8 insertions(+), 7 deletions(-) |
---|
606 | |
---|
607 | commit 318feed8437bdd8d4943c6569d38f7b54b6313cc |
---|
608 | Author: Brian Warner <warner@lothar.com> |
---|
609 | Date: Mon Oct 3 23:36:19 2011 -0400 |
---|
610 | |
---|
611 | small cleanups |
---|
612 | |
---|
613 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
614 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
615 | |
---|
616 | commit bd459ed5714e1db5a7163935c54b7b0b56db8349 |
---|
617 | Author: Brian Warner <warner@lothar.com> |
---|
618 | Date: Mon Oct 3 23:33:39 2011 -0400 |
---|
619 | |
---|
620 | API of ServerMap.add_new_share() |
---|
621 | |
---|
622 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
623 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
624 | 2 files changed, 4 insertions(+), 6 deletions(-) |
---|
625 | |
---|
626 | commit f2804fb6ed11d80088e0da8ed48e6c2922f2ffef |
---|
627 | Author: Brian Warner <warner@lothar.com> |
---|
628 | Date: Mon Oct 3 23:30:26 2011 -0400 |
---|
629 | |
---|
630 | API of ServerMap.get_bad_shares() |
---|
631 | |
---|
632 | src/allmydata/mutable/publish.py | 3 +-- |
---|
633 | src/allmydata/mutable/servermap.py | 9 ++++----- |
---|
634 | 2 files changed, 5 insertions(+), 7 deletions(-) |
---|
635 | |
---|
636 | commit 965074a47b3ce1431cb46d9a233840afcf9105f5 |
---|
637 | Author: Brian Warner <warner@lothar.com> |
---|
638 | Date: Mon Oct 3 23:26:58 2011 -0400 |
---|
639 | |
---|
640 | more small cleanups |
---|
641 | |
---|
642 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
643 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
644 | |
---|
645 | commit 38020da34f034f8889947dd3dc05e087ffff7106 |
---|
646 | Author: Brian Warner <warner@lothar.com> |
---|
647 | Date: Mon Oct 3 23:18:47 2011 -0400 |
---|
648 | |
---|
649 | change Publish.bad_share_checkstrings |
---|
650 | |
---|
651 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
652 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
653 | |
---|
654 | commit 5efebcbd2ee0c2f299ea86f7591d856c0f265304 |
---|
655 | Author: Brian Warner <warner@lothar.com> |
---|
656 | Date: Mon Oct 3 23:16:31 2011 -0400 |
---|
657 | |
---|
658 | change internals of Publish.update_goal() |
---|
659 | |
---|
660 | src/allmydata/mutable/publish.py | 8 +++----- |
---|
661 | 1 files changed, 3 insertions(+), 5 deletions(-) |
---|
662 | |
---|
663 | commit e91b55ff4c2a69165b71f2c7b217ac319ff4c527 |
---|
664 | Author: Brian Warner <warner@lothar.com> |
---|
665 | Date: Mon Oct 3 23:11:42 2011 -0400 |
---|
666 | |
---|
667 | get rid of Publish.connections |
---|
668 | |
---|
669 | src/allmydata/mutable/publish.py | 27 +++++---------------------- |
---|
670 | 1 files changed, 5 insertions(+), 22 deletions(-) |
---|
671 | |
---|
672 | commit 64e9a53b3229ebe2f9ebf7ed502d539311d0e037 |
---|
673 | Author: Brian Warner <warner@lothar.com> |
---|
674 | Date: Mon Oct 3 23:05:32 2011 -0400 |
---|
675 | |
---|
676 | change Publish.bad_servers |
---|
677 | |
---|
678 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
679 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
680 | |
---|
681 | commit b85a934bef315a06bcfe00c9c12a3627fed2b918 |
---|
682 | Author: Brian Warner <warner@lothar.com> |
---|
683 | Date: Mon Oct 3 23:03:07 2011 -0400 |
---|
684 | |
---|
685 | Publish.bad_servers: fix bug, this should be a set of serverids, not writers |
---|
686 | |
---|
687 | src/allmydata/mutable/publish.py | 2 +- |
---|
688 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
689 | |
---|
690 | commit 605ea15ec15ed671513819003ccd211cdb9761e0 |
---|
691 | Author: Brian Warner <warner@lothar.com> |
---|
692 | Date: Mon Oct 3 23:00:21 2011 -0400 |
---|
693 | |
---|
694 | change .placed |
---|
695 | |
---|
696 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
697 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
698 | |
---|
699 | commit f7aba37b1b345d5b6d5cb16e3b3f6f3c1afb658e |
---|
700 | Author: Brian Warner <warner@lothar.com> |
---|
701 | Date: Mon Oct 3 22:59:22 2011 -0400 |
---|
702 | |
---|
703 | temporarily stash IServer as .server on the "writer" object |
---|
704 | |
---|
705 | src/allmydata/mutable/publish.py | 2 ++ |
---|
706 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
707 | |
---|
708 | commit f9b551d788e7db1f187fce5ab98ab5d5fe4e1c36 |
---|
709 | Author: Brian Warner <warner@lothar.com> |
---|
710 | Date: Mon Oct 3 22:48:18 2011 -0400 |
---|
711 | |
---|
712 | change Publish.goal and API of log_goal() to use IServer, not serverid |
---|
713 | |
---|
714 | src/allmydata/mutable/publish.py | 48 ++++++++++++++-------------- |
---|
715 | 1 files changed, 24 insertions(+), 24 deletions(-) |
---|
716 | |
---|
717 | commit 75f20616558e4900b8b1f685dd99aa838de6d452 |
---|
718 | Author: Brian Warner <warner@lothar.com> |
---|
719 | Date: Mon Oct 3 15:27:02 2011 -0400 |
---|
720 | |
---|
721 | API of ServerMap.get_known_shares() |
---|
722 | |
---|
723 | src/allmydata/mutable/publish.py | 16 ++++++++++------ |
---|
724 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
725 | 2 files changed, 12 insertions(+), 11 deletions(-) |
---|
726 | |
---|
727 | commit 1c38c9d37bb08221b4418762234b1a62397b3b4b |
---|
728 | Author: Brian Warner <warner@lothar.com> |
---|
729 | Date: Mon Oct 3 15:20:29 2011 -0400 |
---|
730 | |
---|
731 | Publish.full_serverlist |
---|
732 | |
---|
733 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
734 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
735 | |
---|
736 | commit b6cbd215a04b9cde31a7d92a97a7f048622b16f1 |
---|
737 | Author: Brian Warner <warner@lothar.com> |
---|
738 | Date: Mon Oct 3 15:12:31 2011 -0400 |
---|
739 | |
---|
740 | API of ServerMap.all_servers() |
---|
741 | |
---|
742 | src/allmydata/mutable/servermap.py | 19 ++++++------------- |
---|
743 | 1 files changed, 6 insertions(+), 13 deletions(-) |
---|
744 | |
---|
745 | commit e63cd0315fae65357b1727ec6d5ff3c6e0d27c98 |
---|
746 | Author: Brian Warner <warner@lothar.com> |
---|
747 | Date: Mon Oct 3 15:10:18 2011 -0400 |
---|
748 | |
---|
749 | remove ServerMap.connections, set_rref_for_serverid() |
---|
750 | |
---|
751 | src/allmydata/mutable/servermap.py | 11 +---------- |
---|
752 | 1 files changed, 1 insertions(+), 10 deletions(-) |
---|
753 | |
---|
754 | commit 4df52db2f80eb12eefa5d57103c24893cde89553 |
---|
755 | Author: Brian Warner <warner@lothar.com> |
---|
756 | Date: Mon Oct 3 15:04:06 2011 -0400 |
---|
757 | |
---|
758 | API of ServerMap.mark_server_reachable() |
---|
759 | |
---|
760 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
761 | 1 files changed, 2 insertions(+), 5 deletions(-) |
---|
762 | |
---|
763 | commit 69c715bde77944dc25181b3dbbeb042c816f9a1b |
---|
764 | Author: Brian Warner <warner@lothar.com> |
---|
765 | Date: Mon Oct 3 15:03:21 2011 -0400 |
---|
766 | |
---|
767 | API of ServerMap.mark_server_unreachable() |
---|
768 | |
---|
769 | src/allmydata/mutable/servermap.py | 9 +++------ |
---|
770 | 1 files changed, 3 insertions(+), 6 deletions(-) |
---|
771 | |
---|
772 | commit 3d784d60eec1c508858e3a617e4411ffbcc3c1fa |
---|
773 | Author: Brian Warner <warner@lothar.com> |
---|
774 | Date: Mon Oct 3 15:02:03 2011 -0400 |
---|
775 | |
---|
776 | API of status.set_privkey_from() |
---|
777 | |
---|
778 | src/allmydata/mutable/servermap.py | 7 +++---- |
---|
779 | 1 files changed, 3 insertions(+), 4 deletions(-) |
---|
780 | |
---|
781 | commit 544ed3ea29bed7e66da7fd29ca3f6f076f27a9e6 |
---|
782 | Author: Brian Warner <warner@lothar.com> |
---|
783 | Date: Mon Oct 3 15:01:15 2011 -0400 |
---|
784 | |
---|
785 | API of status.add_per_server_time() |
---|
786 | |
---|
787 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
788 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
789 | |
---|
790 | commit fffe5008b6320bd1e04c3c68389a2bf2ee383fa8 |
---|
791 | Author: Brian Warner <warner@lothar.com> |
---|
792 | Date: Mon Oct 3 14:59:02 2011 -0400 |
---|
793 | |
---|
794 | remove unused .versionmap |
---|
795 | |
---|
796 | src/allmydata/mutable/servermap.py | 7 ------- |
---|
797 | 1 files changed, 0 insertions(+), 7 deletions(-) |
---|
798 | |
---|
799 | commit 2816562e090d2294179db3588dafcca18de1bc2b |
---|
800 | Author: Brian Warner <warner@lothar.com> |
---|
801 | Date: Mon Oct 3 14:57:51 2011 -0400 |
---|
802 | |
---|
803 | remove serverid from all log messages. Also one unused lambda. |
---|
804 | |
---|
805 | src/allmydata/mutable/servermap.py | 30 +++++++++++++------------- |
---|
806 | 1 files changed, 15 insertions(+), 15 deletions(-) |
---|
807 | |
---|
808 | commit 28fa6b1a2738fa98c1f1dbd3d0e01ae98912d11f |
---|
809 | Author: Brian Warner <warner@lothar.com> |
---|
810 | Date: Mon Oct 3 14:54:30 2011 -0400 |
---|
811 | |
---|
812 | removed unused _readers |
---|
813 | |
---|
814 | src/allmydata/mutable/servermap.py | 3 --- |
---|
815 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
816 | |
---|
817 | commit a8e4ed3d645ab592d1add6a1e69b6d1ebfb77817 |
---|
818 | Author: Brian Warner <warner@lothar.com> |
---|
819 | Date: Mon Oct 3 14:54:16 2011 -0400 |
---|
820 | |
---|
821 | remove unused _sharemap |
---|
822 | |
---|
823 | src/allmydata/mutable/servermap.py | 1 - |
---|
824 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
825 | |
---|
826 | commit 3f072e55cf1d0700f9fffe23f8f3a475725df588 |
---|
827 | Author: Brian Warner <warner@lothar.com> |
---|
828 | Date: Mon Oct 3 14:49:03 2011 -0400 |
---|
829 | |
---|
830 | _must_query |
---|
831 | |
---|
832 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
833 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
834 | |
---|
835 | commit c599a059b8df3f5785e4bf89fb6ecc6d8dcd708b |
---|
836 | Author: Brian Warner <warner@lothar.com> |
---|
837 | Date: Mon Oct 3 14:48:05 2011 -0400 |
---|
838 | |
---|
839 | _queries_outstanding |
---|
840 | |
---|
841 | src/allmydata/mutable/servermap.py | 16 +++++++--------- |
---|
842 | 1 files changed, 7 insertions(+), 9 deletions(-) |
---|
843 | |
---|
844 | commit 7743759f98ac2c07926b2fdbd80bf52dfab33085 |
---|
845 | Author: Brian Warner <warner@lothar.com> |
---|
846 | Date: Mon Oct 3 14:46:17 2011 -0400 |
---|
847 | |
---|
848 | _empty_servers |
---|
849 | |
---|
850 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
851 | 1 files changed, 2 insertions(+), 3 deletions(-) |
---|
852 | |
---|
853 | commit 6bb1825916828a713a32cdf7f7411fa3ea2e1e5d |
---|
854 | Author: Brian Warner <warner@lothar.com> |
---|
855 | Date: Mon Oct 3 14:45:39 2011 -0400 |
---|
856 | |
---|
857 | _good_servers |
---|
858 | |
---|
859 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
860 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
861 | |
---|
862 | commit 1768fab1b51d8dd93ecabbaaabfadfa20cf6c3d4 |
---|
863 | Author: Brian Warner <warner@lothar.com> |
---|
864 | Date: Mon Oct 3 14:44:59 2011 -0400 |
---|
865 | |
---|
866 | _bad_servers |
---|
867 | |
---|
868 | src/allmydata/mutable/servermap.py | 14 +++++++------- |
---|
869 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
870 | |
---|
871 | commit dccbaef30f0ba714c746bf6d4a1a803c36e17b65 |
---|
872 | Author: Brian Warner <warner@lothar.com> |
---|
873 | Date: Mon Oct 3 14:41:54 2011 -0400 |
---|
874 | |
---|
875 | API of _try_to_set_pubkey() |
---|
876 | |
---|
877 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
878 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
879 | |
---|
880 | commit 0481ea70042ba3575f15eac7fd0780f8ece580cc |
---|
881 | Author: Brian Warner <warner@lothar.com> |
---|
882 | Date: Mon Oct 3 14:35:02 2011 -0400 |
---|
883 | |
---|
884 | API of notify_server_corruption() |
---|
885 | |
---|
886 | src/allmydata/mutable/servermap.py | 6 +++--- |
---|
887 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
888 | |
---|
889 | commit bea9cba18fb3b9c11bb22f18356a263ecec7351e |
---|
890 | Author: Brian Warner <warner@lothar.com> |
---|
891 | Date: Mon Oct 3 14:34:09 2011 -0400 |
---|
892 | |
---|
893 | API of _got_signature_one_share() |
---|
894 | |
---|
895 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
896 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
897 | |
---|
898 | commit 1520123583cf78650706e114b15bb5b0ac1f4a14 |
---|
899 | Author: Brian Warner <warner@lothar.com> |
---|
900 | Date: Mon Oct 3 14:32:33 2011 -0400 |
---|
901 | |
---|
902 | API of _try_to_validate_privkey() |
---|
903 | |
---|
904 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
905 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
906 | |
---|
907 | commit 938852c9c8519c7a078f58a9b1f4dd8ec8b6715e |
---|
908 | Author: Brian Warner <warner@lothar.com> |
---|
909 | Date: Mon Oct 3 14:31:48 2011 -0400 |
---|
910 | |
---|
911 | API and internals of _add_lease_failed() |
---|
912 | |
---|
913 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
914 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
915 | |
---|
916 | commit 3843dba367e3c19e176a622ab853cb51d2472ddf |
---|
917 | Author: Brian Warner <warner@lothar.com> |
---|
918 | Date: Mon Oct 3 14:30:37 2011 -0400 |
---|
919 | |
---|
920 | API of _privkey_query_failed() |
---|
921 | |
---|
922 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
923 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
924 | |
---|
925 | commit 2219a710e1633cd57d0ca0786490de87b3e19ba7 |
---|
926 | Author: Brian Warner <warner@lothar.com> |
---|
927 | Date: Mon Oct 3 14:29:43 2011 -0400 |
---|
928 | |
---|
929 | fix bug in call to _privkey_query_failed, unrelated to refactoring |
---|
930 | |
---|
931 | src/allmydata/mutable/servermap.py | 2 +- |
---|
932 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
933 | |
---|
934 | commit ae615bec7d0d1b269710b6902797b12f9592ad62 |
---|
935 | Author: Brian Warner <warner@lothar.com> |
---|
936 | Date: Mon Oct 3 14:27:17 2011 -0400 |
---|
937 | |
---|
938 | API of _got_corrupt_share() |
---|
939 | |
---|
940 | src/allmydata/mutable/servermap.py | 17 +++++++++-------- |
---|
941 | 1 files changed, 9 insertions(+), 8 deletions(-) |
---|
942 | |
---|
943 | commit cb51c95a6f4e077278157a77dab060c8c1ad7a81 |
---|
944 | Author: Brian Warner <warner@lothar.com> |
---|
945 | Date: Mon Oct 3 14:23:16 2011 -0400 |
---|
946 | |
---|
947 | API of _got_results() |
---|
948 | |
---|
949 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
950 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
951 | |
---|
952 | commit bac9154fe0af18f226999a58ffc2362d8cf4b802 |
---|
953 | Author: Brian Warner <warner@lothar.com> |
---|
954 | Date: Mon Oct 3 14:19:19 2011 -0400 |
---|
955 | |
---|
956 | API of _query_failed() |
---|
957 | |
---|
958 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
959 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
960 | |
---|
961 | commit fdc29a8ca95d4b5c503e5382b9e5d4d02141ba12 |
---|
962 | Author: Brian Warner <warner@lothar.com> |
---|
963 | Date: Mon Oct 3 14:17:20 2011 -0400 |
---|
964 | |
---|
965 | API of _do_read() |
---|
966 | |
---|
967 | src/allmydata/mutable/servermap.py | 6 ++++-- |
---|
968 | 1 files changed, 4 insertions(+), 2 deletions(-) |
---|
969 | |
---|
970 | commit e7e9e338f28d004aa4d423d11c65f1e271ac7322 |
---|
971 | Author: Brian Warner <warner@lothar.com> |
---|
972 | Date: Mon Oct 3 14:20:21 2011 -0400 |
---|
973 | |
---|
974 | API of _do_query() |
---|
975 | |
---|
976 | src/allmydata/mutable/servermap.py | 15 +++++++-------- |
---|
977 | 1 files changed, 7 insertions(+), 8 deletions(-) |
---|
978 | |
---|
979 | commit 330625b9dac4cdbe72a11464a893065b9aeed453 |
---|
980 | Author: Brian Warner <warner@lothar.com> |
---|
981 | Date: Mon Oct 3 14:43:05 2011 -0400 |
---|
982 | |
---|
983 | next step: first batch of updates to ServermapUpdater |
---|
984 | |
---|
985 | updates: |
---|
986 | most method-local variables in update() |
---|
987 | API of _build_initial_querylist() |
---|
988 | API of _send_initial_requests() |
---|
989 | .full_serverlist |
---|
990 | .extra_servers |
---|
991 | |
---|
992 | src/allmydata/mutable/servermap.py | 39 ++++++++++++++------------ |
---|
993 | 1 files changed, 21 insertions(+), 18 deletions(-) |
---|
994 | |
---|
995 | commit 4aadc584fa7dcb2daa86b048c81dee0049ba26d9 |
---|
996 | Author: Brian Warner <warner@lothar.com> |
---|
997 | Date: Mon Oct 3 15:07:00 2011 -0400 |
---|
998 | |
---|
999 | internal change: index _bad_shares with IServer |
---|
1000 | |
---|
1001 | src/allmydata/mutable/servermap.py | 20 ++++++++++---------- |
---|
1002 | 1 files changed, 10 insertions(+), 10 deletions(-) |
---|
1003 | |
---|
1004 | commit 16d4e6fa82a9907dbdc92094213387c6a4164e41 |
---|
1005 | Author: Brian Warner <warner@lothar.com> |
---|
1006 | Date: Mon Oct 3 18:20:47 2011 +0100 |
---|
1007 | |
---|
1008 | internal change: index _known_shares with IServer instead of serverid |
---|
1009 | |
---|
1010 | callers are unchanged |
---|
1011 | |
---|
1012 | src/allmydata/mutable/servermap.py | 42 +++++++++++++++---------- |
---|
1013 | 1 files changed, 25 insertions(+), 17 deletions(-) |
---|
1014 | |
---|
1015 | commit ceeb5f4938cc814a0c75d1b8f4018aed965c2176 |
---|
1016 | Author: Brian Warner <warner@lothar.com> |
---|
1017 | Date: Mon Oct 3 18:11:43 2011 +0100 |
---|
1018 | |
---|
1019 | accessors and name cleanup for servermap.Servermap.last_update_mode/time |
---|
1020 | |
---|
1021 | src/allmydata/mutable/filenode.py | 6 +++--- |
---|
1022 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1023 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1024 | 3 files changed, 16 insertions(+), 11 deletions(-) |
---|
1025 | |
---|
1026 | commit 8d3cbda82661c0a7e5c3d3b65cf7a5d5ab7e32c0 |
---|
1027 | Author: Brian Warner <warner@lothar.com> |
---|
1028 | Date: Mon Oct 3 18:11:14 2011 +0100 |
---|
1029 | |
---|
1030 | accessors and name cleanup for servermap.Servermap.problems |
---|
1031 | |
---|
1032 | src/allmydata/mutable/servermap.py | 21 +++++++++++++-------- |
---|
1033 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1034 | 2 files changed, 16 insertions(+), 11 deletions(-) |
---|
1035 | |
---|
1036 | commit 348f57988f79389db0aab7672e6eaa9a6d8e3219 |
---|
1037 | Author: Brian Warner <warner@lothar.com> |
---|
1038 | Date: Mon Oct 3 18:10:41 2011 +0100 |
---|
1039 | |
---|
1040 | accessors and name cleanup for servermap.Servermap.bad_shares |
---|
1041 | |
---|
1042 | src/allmydata/mutable/publish.py | 2 +- |
---|
1043 | src/allmydata/mutable/servermap.py | 30 ++++++++++++++----------- |
---|
1044 | 2 files changed, 18 insertions(+), 14 deletions(-) |
---|
1045 | |
---|
1046 | commit 520c9368134673cdf76c653c5e1bb91c2ab5d51e |
---|
1047 | Author: Brian Warner <warner@lothar.com> |
---|
1048 | Date: Mon Oct 3 18:10:05 2011 +0100 |
---|
1049 | |
---|
1050 | accessors and name cleanup for servermap.Servermap.servermap . |
---|
1051 | |
---|
1052 | src/allmydata/mutable/publish.py | 14 +++++---- |
---|
1053 | src/allmydata/mutable/servermap.py | 38 ++++++++++++++----------- |
---|
1054 | 2 files changed, 29 insertions(+), 23 deletions(-) |
---|
1055 | |
---|
1056 | commit b8b8dc38287a91dbdf494426ac801d9381ce5841 |
---|
1057 | Author: Brian Warner <warner@lothar.com> |
---|
1058 | Date: Mon Oct 3 18:08:02 2011 +0100 |
---|
1059 | |
---|
1060 | fix reachable_servers |
---|
1061 | |
---|
1062 | src/allmydata/mutable/checker.py | 3 ++- |
---|
1063 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1064 | src/allmydata/mutable/servermap.py | 12 ++++++++++-- |
---|
1065 | 3 files changed, 15 insertions(+), 4 deletions(-) |
---|
1066 | |
---|
1067 | commit cb0cfd1adfefad357c187aaaf690c3df68b622bc |
---|
1068 | Author: Brian Warner <warner@lothar.com> |
---|
1069 | Date: Mon Oct 3 18:06:03 2011 +0100 |
---|
1070 | |
---|
1071 | fix Servermap.unreachable_servers |
---|
1072 | |
---|
1073 | src/allmydata/mutable/servermap.py | 11 ++++++++--- |
---|
1074 | 1 files changed, 8 insertions(+), 3 deletions(-) |
---|
1075 | |
---|
1076 | commit 2d9ea79b94bd4db674d40386fda90825785ac495 |
---|
1077 | Author: Brian Warner <warner@lothar.com> |
---|
1078 | Date: Mon Oct 3 18:03:48 2011 +0100 |
---|
1079 | |
---|
1080 | give ServerMap a StorageFarmBroker, temporary |
---|
1081 | |
---|
1082 | this makes it possible for the ServerMap to accept bare serverids and still |
---|
1083 | build data structures with IServers |
---|
1084 | |
---|
1085 | src/allmydata/mutable/checker.py | 2 +- |
---|
1086 | src/allmydata/mutable/filenode.py | 2 +- |
---|
1087 | src/allmydata/mutable/publish.py | 2 +- |
---|
1088 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1089 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
1090 | 5 files changed, 10 insertions(+), 9 deletions(-) |
---|
1091 | |
---|
1092 | commit 718d1aeff6fded893f65397806d22ece928b0dd4 |
---|
1093 | Author: Brian Warner <warner@lothar.com> |
---|
1094 | Date: Mon Oct 3 13:43:30 2011 -0400 |
---|
1095 | |
---|
1096 | add StorageFarmBroker.get_server_for_id(), temporary helper |
---|
1097 | |
---|
1098 | This will go away once we're passing IServers everywhere. |
---|
1099 | |
---|
1100 | src/allmydata/storage_client.py | 2 ++ |
---|
1101 | src/allmydata/test/no_network.py | 13 +++++++++++++ |
---|
1102 | 2 files changed, 15 insertions(+), 0 deletions(-) |
---|
1103 | |
---|
1104 | commit ece20231d7fda0d503704842a4aa068dfbc2e54e |
---|
1105 | Author: Brian Warner <warner@lothar.com> |
---|
1106 | Date: Sun Oct 2 01:11:50 2011 +0100 |
---|
1107 | |
---|
1108 | add proper accessors for Servermap.connections, to make refactoring easier |
---|
1109 | |
---|
1110 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1111 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1112 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1113 | 3 files changed, 19 insertions(+), 14 deletions(-) |
---|
1114 | |
---|
1115 | commit 3b943d6bf302ff702668081a612fc4fe2604cf9c |
---|
1116 | Author: Brian Warner <warner@lothar.com> |
---|
1117 | Date: Fri Sep 23 10:34:30 2011 -0700 |
---|
1118 | |
---|
1119 | mutable/servermap.py and neighbors: s/peer/server/ |
---|
1120 | |
---|
1121 | src/allmydata/mutable/checker.py | 22 +- |
---|
1122 | src/allmydata/mutable/publish.py | 204 +++++++------- |
---|
1123 | src/allmydata/mutable/servermap.py | 402 +++++++++++++------------- |
---|
1124 | src/allmydata/test/test_mutable.py | 18 +- |
---|
1125 | 4 files changed, 323 insertions(+), 323 deletions(-) |
---|
1126 | IServer refactoring: pass IServer instances around, instead of peerids |
---|
1127 | |
---|
1128 | refs #1363 |
---|
1129 | |
---|
1130 | This collapses 88 small incremental changes (each of which passes all tests) |
---|
1131 | into one big patch. The development process for the long path started with |
---|
1132 | adding some temporary scaffolding, changing one method at a time, then |
---|
1133 | removing the scaffolding. The individual pieces are as follows, in reverse |
---|
1134 | chronological order (the first patch is at the end of this comment): |
---|
1135 | |
---|
1136 | commit 9bbe4174fd0d98a6cf47a8ef96e85d9ef34b2f9a |
---|
1137 | Author: Brian Warner <warner@lothar.com> |
---|
1138 | Date: Tue Oct 4 16:05:00 2011 -0400 |
---|
1139 | |
---|
1140 | immutable/downloader/status.py: correct comment |
---|
1141 | |
---|
1142 | src/allmydata/immutable/downloader/status.py | 2 +- |
---|
1143 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1144 | |
---|
1145 | commit 72146a7c7c91eac2f7c3ceb801eb7a1721376889 |
---|
1146 | Author: Brian Warner <warner@lothar.com> |
---|
1147 | Date: Tue Oct 4 15:46:20 2011 -0400 |
---|
1148 | |
---|
1149 | remove temporary ServerMap._storage_broker |
---|
1150 | |
---|
1151 | src/allmydata/mutable/checker.py | 2 +- |
---|
1152 | src/allmydata/mutable/filenode.py | 2 +- |
---|
1153 | src/allmydata/mutable/publish.py | 2 +- |
---|
1154 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1155 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
1156 | 5 files changed, 9 insertions(+), 10 deletions(-) |
---|
1157 | |
---|
1158 | commit d703096b41632c47d76414b12672e076a422ff5c |
---|
1159 | Author: Brian Warner <warner@lothar.com> |
---|
1160 | Date: Tue Oct 4 15:37:05 2011 -0400 |
---|
1161 | |
---|
1162 | remove temporary storage_broker.get_server_for_id() |
---|
1163 | |
---|
1164 | src/allmydata/storage_client.py | 3 --- |
---|
1165 | src/allmydata/test/no_network.py | 13 ------------- |
---|
1166 | 2 files changed, 0 insertions(+), 16 deletions(-) |
---|
1167 | |
---|
1168 | commit 620cc5d80882ef6f7decfd26af8a6c7c1ddf80d1 |
---|
1169 | Author: Brian Warner <warner@lothar.com> |
---|
1170 | Date: Tue Oct 4 12:50:06 2011 -0400 |
---|
1171 | |
---|
1172 | API of Retrieve._try_to_validate_privkey(), trying to remove reader.server |
---|
1173 | |
---|
1174 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1175 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1176 | |
---|
1177 | commit 92f43f856f4a8b36c207d1b190ed8699b5a4ecb4 |
---|
1178 | Author: Brian Warner <warner@lothar.com> |
---|
1179 | Date: Tue Oct 4 12:48:08 2011 -0400 |
---|
1180 | |
---|
1181 | API of Retrieve._validate_block(), trying to remove reader.server |
---|
1182 | |
---|
1183 | src/allmydata/mutable/retrieve.py | 14 +++++++------- |
---|
1184 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
1185 | |
---|
1186 | commit 572d5070761861a2190349d1ed8d85dbc25698a5 |
---|
1187 | Author: Brian Warner <warner@lothar.com> |
---|
1188 | Date: Tue Oct 4 12:36:58 2011 -0400 |
---|
1189 | |
---|
1190 | API of Retrieve._mark_bad_share(), trying to remove reader.server |
---|
1191 | |
---|
1192 | src/allmydata/mutable/retrieve.py | 21 +++++++++------------ |
---|
1193 | 1 files changed, 9 insertions(+), 12 deletions(-) |
---|
1194 | |
---|
1195 | commit a793ff00c0de1e2eec7b46288fdf388c7a2bec89 |
---|
1196 | Author: Brian Warner <warner@lothar.com> |
---|
1197 | Date: Tue Oct 4 12:06:13 2011 -0400 |
---|
1198 | |
---|
1199 | remove now-unused get_rref_for_serverid() |
---|
1200 | |
---|
1201 | src/allmydata/mutable/servermap.py | 3 --- |
---|
1202 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
1203 | |
---|
1204 | commit 1b9827cc9366bf90b93297fdd6832f2ad0480ce7 |
---|
1205 | Author: Brian Warner <warner@lothar.com> |
---|
1206 | Date: Tue Oct 4 12:03:09 2011 -0400 |
---|
1207 | |
---|
1208 | Retrieve: stop adding .serverid attributes to readers |
---|
1209 | |
---|
1210 | src/allmydata/mutable/retrieve.py | 1 - |
---|
1211 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1212 | |
---|
1213 | commit 5d4e9d491b19e49d2e443a1dfff2c672842c36ef |
---|
1214 | Author: Brian Warner <warner@lothar.com> |
---|
1215 | Date: Tue Oct 4 12:03:34 2011 -0400 |
---|
1216 | |
---|
1217 | return value of Retrieve(verify=True) |
---|
1218 | |
---|
1219 | src/allmydata/mutable/checker.py | 11 ++++++----- |
---|
1220 | src/allmydata/mutable/retrieve.py | 3 +-- |
---|
1221 | 2 files changed, 7 insertions(+), 7 deletions(-) |
---|
1222 | |
---|
1223 | commit e9ab7978c384e1f677cb7779dc449b1044face82 |
---|
1224 | Author: Brian Warner <warner@lothar.com> |
---|
1225 | Date: Tue Oct 4 11:54:23 2011 -0400 |
---|
1226 | |
---|
1227 | Retrieve._bad_shares (but not return value, used by Verifier) |
---|
1228 | |
---|
1229 | src/allmydata/mutable/retrieve.py | 7 ++++--- |
---|
1230 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1231 | |
---|
1232 | commit 2d91926de233ec5c881f30e36b4a30ad92ab42a9 |
---|
1233 | Author: Brian Warner <warner@lothar.com> |
---|
1234 | Date: Tue Oct 4 11:51:23 2011 -0400 |
---|
1235 | |
---|
1236 | Publish: stop adding .serverid attributes to writers |
---|
1237 | |
---|
1238 | src/allmydata/mutable/publish.py | 9 ++------- |
---|
1239 | 1 files changed, 2 insertions(+), 7 deletions(-) |
---|
1240 | |
---|
1241 | commit 47c7a0105dec7cbf4f7e0a3ce800bbb85b15df4a |
---|
1242 | Author: Brian Warner <warner@lothar.com> |
---|
1243 | Date: Tue Oct 4 11:56:33 2011 -0400 |
---|
1244 | |
---|
1245 | API of get_write_enabler() |
---|
1246 | |
---|
1247 | src/allmydata/mutable/filenode.py | 7 ++++--- |
---|
1248 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1249 | src/allmydata/test/no_network.py | 3 +++ |
---|
1250 | 3 files changed, 9 insertions(+), 5 deletions(-) |
---|
1251 | |
---|
1252 | commit 9196a5c6590fdbfd660325ea8358b345887d3db0 |
---|
1253 | Author: Brian Warner <warner@lothar.com> |
---|
1254 | Date: Tue Oct 4 11:46:24 2011 -0400 |
---|
1255 | |
---|
1256 | API of get_(renewal|cancel)_secret() |
---|
1257 | |
---|
1258 | src/allmydata/mutable/filenode.py | 14 ++++++++------ |
---|
1259 | src/allmydata/mutable/publish.py | 8 ++++---- |
---|
1260 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1261 | 3 files changed, 14 insertions(+), 13 deletions(-) |
---|
1262 | |
---|
1263 | commit de7c1552f8c163eff5b6d820b5fb3b21c1b47cb5 |
---|
1264 | Author: Brian Warner <warner@lothar.com> |
---|
1265 | Date: Tue Oct 4 11:41:52 2011 -0400 |
---|
1266 | |
---|
1267 | API of CorruptShareError. Also comment out some related+unused test_web.py code |
---|
1268 | |
---|
1269 | src/allmydata/mutable/common.py | 13 +++++-------- |
---|
1270 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1271 | src/allmydata/mutable/servermap.py | 8 +++----- |
---|
1272 | src/allmydata/test/common.py | 13 ++++++++----- |
---|
1273 | 4 files changed, 21 insertions(+), 23 deletions(-) |
---|
1274 | |
---|
1275 | commit 2c1c314046b620c16f1e66d030c150d768b7d01e |
---|
1276 | Author: Brian Warner <warner@lothar.com> |
---|
1277 | Date: Tue Oct 4 12:01:46 2011 -0400 |
---|
1278 | |
---|
1279 | API of ServerMap.mark_bad_share() |
---|
1280 | |
---|
1281 | src/allmydata/mutable/publish.py | 2 +- |
---|
1282 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1283 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
1284 | src/allmydata/test/test_mutable.py | 3 +-- |
---|
1285 | 4 files changed, 7 insertions(+), 10 deletions(-) |
---|
1286 | |
---|
1287 | commit 1bed349030779fd0c378ae4e821384f953c6f6ff |
---|
1288 | Author: Brian Warner <warner@lothar.com> |
---|
1289 | Date: Tue Oct 4 11:11:17 2011 -0400 |
---|
1290 | |
---|
1291 | API+name of ServerMap.shares_on_server() : only for tests, so debug_ prefix |
---|
1292 | |
---|
1293 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1294 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1295 | 2 files changed, 5 insertions(+), 8 deletions(-) |
---|
1296 | |
---|
1297 | commit 2d32e448677d6b818692e801045d4115b29abf21 |
---|
1298 | Author: Brian Warner <warner@lothar.com> |
---|
1299 | Date: Tue Oct 4 11:07:10 2011 -0400 |
---|
1300 | |
---|
1301 | API of ServerMap.all_servers_for_version() |
---|
1302 | |
---|
1303 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1304 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1305 | |
---|
1306 | commit 48f3204d1889c3e7179578125c4bdef515af3d6a |
---|
1307 | Author: Brian Warner <warner@lothar.com> |
---|
1308 | Date: Tue Oct 4 11:04:50 2011 -0400 |
---|
1309 | |
---|
1310 | internals of ServerMap methods that use make_versionmap(), remove temp copy |
---|
1311 | |
---|
1312 | src/allmydata/mutable/servermap.py | 28 +++++++++---------------- |
---|
1313 | 1 files changed, 10 insertions(+), 18 deletions(-) |
---|
1314 | |
---|
1315 | commit 5c3da77b6c777a145bd5ddfaa4db849dc9495548 |
---|
1316 | Author: Brian Warner <warner@lothar.com> |
---|
1317 | Date: Tue Oct 4 11:01:28 2011 -0400 |
---|
1318 | |
---|
1319 | API of ServerMap.make_versionmap() |
---|
1320 | |
---|
1321 | src/allmydata/mutable/checker.py | 4 ++-- |
---|
1322 | src/allmydata/mutable/retrieve.py | 5 ++--- |
---|
1323 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1324 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
1325 | 4 files changed, 10 insertions(+), 10 deletions(-) |
---|
1326 | |
---|
1327 | commit b6882ece49afb4c507d118af2db346fa329209dc |
---|
1328 | Author: Brian Warner <warner@lothar.com> |
---|
1329 | Date: Tue Oct 4 10:53:38 2011 -0400 |
---|
1330 | |
---|
1331 | make a copy of ServerMap.make_versionmap() (_make_versionmap2) for internal use |
---|
1332 | |
---|
1333 | src/allmydata/mutable/servermap.py | 18 +++++++++++++----- |
---|
1334 | 1 files changed, 13 insertions(+), 5 deletions(-) |
---|
1335 | |
---|
1336 | commit 963f8e63faf32b950eb1b8103cd2ff16fe8f0151 |
---|
1337 | Author: Brian Warner <warner@lothar.com> |
---|
1338 | Date: Tue Oct 4 00:45:58 2011 -0400 |
---|
1339 | |
---|
1340 | API of RetrieveStatus.add_problem() |
---|
1341 | |
---|
1342 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1343 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1344 | |
---|
1345 | commit 4976d29ffae565a048851601c29013bbae2976d8 |
---|
1346 | Author: Brian Warner <warner@lothar.com> |
---|
1347 | Date: Tue Oct 4 00:45:05 2011 -0400 |
---|
1348 | |
---|
1349 | API of RetrieveStatus.add_fetch_timing() |
---|
1350 | |
---|
1351 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1352 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1353 | |
---|
1354 | commit d057d3bbba72663ee148a8b916bc2d52be2e3982 |
---|
1355 | Author: Brian Warner <warner@lothar.com> |
---|
1356 | Date: Tue Oct 4 00:44:04 2011 -0400 |
---|
1357 | |
---|
1358 | API of Retrieve.notify_server_corruption() |
---|
1359 | |
---|
1360 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1361 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1362 | |
---|
1363 | commit 8a2a81e46671c860610e0e96d6add1a57551f22d |
---|
1364 | Author: Brian Warner <warner@lothar.com> |
---|
1365 | Date: Tue Oct 4 00:42:32 2011 -0400 |
---|
1366 | |
---|
1367 | remove unused _outstanding_queries |
---|
1368 | |
---|
1369 | src/allmydata/mutable/retrieve.py | 1 - |
---|
1370 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1371 | |
---|
1372 | commit 56d12cc9968d03ccd53764455c671122c4f391d1 |
---|
1373 | Author: Brian Warner <warner@lothar.com> |
---|
1374 | Date: Tue Oct 4 00:40:57 2011 -0400 |
---|
1375 | |
---|
1376 | change Retrieve.remaining_sharemap |
---|
1377 | |
---|
1378 | src/allmydata/mutable/retrieve.py | 4 ++-- |
---|
1379 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1380 | |
---|
1381 | commit 4f0b7af4821f43290bfc70f2b1fc30149ad81281 |
---|
1382 | Author: Brian Warner <warner@lothar.com> |
---|
1383 | Date: Tue Oct 4 10:40:18 2011 -0400 |
---|
1384 | |
---|
1385 | accessor for PublishStatus._problems |
---|
1386 | |
---|
1387 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1388 | src/allmydata/web/status.py | 2 +- |
---|
1389 | 2 files changed, 4 insertions(+), 2 deletions(-) |
---|
1390 | |
---|
1391 | commit 627087cf66d0b8cc519f4d551a967a7bd9b6a741 |
---|
1392 | Author: Brian Warner <warner@lothar.com> |
---|
1393 | Date: Tue Oct 4 10:36:39 2011 -0400 |
---|
1394 | |
---|
1395 | accessor for RetrieveStatus._problems |
---|
1396 | |
---|
1397 | src/allmydata/mutable/retrieve.py | 8 ++++++-- |
---|
1398 | src/allmydata/web/status.py | 2 +- |
---|
1399 | 2 files changed, 7 insertions(+), 3 deletions(-) |
---|
1400 | |
---|
1401 | commit ca7dea81f03801b1c7353fc00ecba689268109cf |
---|
1402 | Author: Brian Warner <warner@lothar.com> |
---|
1403 | Date: Tue Oct 4 00:35:32 2011 -0400 |
---|
1404 | |
---|
1405 | add .server to "reader", so we can get at it later |
---|
1406 | |
---|
1407 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1408 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1409 | |
---|
1410 | commit 6ef516e24908ec195af084a7550d1921a5e983b0 |
---|
1411 | Author: Brian Warner <warner@lothar.com> |
---|
1412 | Date: Tue Oct 4 00:32:32 2011 -0400 |
---|
1413 | |
---|
1414 | temporarily give Retrieve a _storage_broker, so it can map serverids to servers |
---|
1415 | |
---|
1416 | src/allmydata/mutable/checker.py | 3 ++- |
---|
1417 | src/allmydata/mutable/filenode.py | 6 ++++-- |
---|
1418 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1419 | src/allmydata/test/test_mutable.py | 4 ++-- |
---|
1420 | 4 files changed, 11 insertions(+), 7 deletions(-) |
---|
1421 | |
---|
1422 | commit afe08e4dd3f4ff9ff7e8a2a8d28b181e3625bcc9 |
---|
1423 | Author: Brian Warner <warner@lothar.com> |
---|
1424 | Date: Tue Oct 4 00:21:51 2011 -0400 |
---|
1425 | |
---|
1426 | mutable/retrieve.py: s/peer/server/ |
---|
1427 | |
---|
1428 | src/allmydata/mutable/retrieve.py | 82 +++++++++++++------------- |
---|
1429 | src/allmydata/test/test_mutable.py | 6 +- |
---|
1430 | 2 files changed, 44 insertions(+), 44 deletions(-) |
---|
1431 | |
---|
1432 | commit 910afcb5d7f274880f68dd6cdb5b05f2bbc29adc |
---|
1433 | Author: Brian Warner <warner@lothar.com> |
---|
1434 | Date: Tue Oct 4 00:16:01 2011 -0400 |
---|
1435 | |
---|
1436 | web.status.PublishStatusPage: add comment, I think .problems isn't exercised |
---|
1437 | |
---|
1438 | src/allmydata/web/status.py | 2 ++ |
---|
1439 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
1440 | |
---|
1441 | commit 311466dd8c931bbba40d590ade867704282e7f1a |
---|
1442 | Author: Brian Warner <warner@lothar.com> |
---|
1443 | Date: Mon Oct 3 23:48:16 2011 -0400 |
---|
1444 | |
---|
1445 | API of PublishStatus.add_per_server_time() |
---|
1446 | |
---|
1447 | src/allmydata/mutable/publish.py | 5 +++-- |
---|
1448 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1449 | |
---|
1450 | commit 2df5faa1b6cbfbaded520d2320305a62fe961118 |
---|
1451 | Author: Brian Warner <warner@lothar.com> |
---|
1452 | Date: Mon Oct 3 23:46:37 2011 -0400 |
---|
1453 | |
---|
1454 | more simplifications |
---|
1455 | |
---|
1456 | src/allmydata/mutable/publish.py | 4 +--- |
---|
1457 | 1 files changed, 1 insertions(+), 3 deletions(-) |
---|
1458 | |
---|
1459 | commit 6ac4544a3da385f2aad9392f906b90192f4f919a |
---|
1460 | Author: Brian Warner <warner@lothar.com> |
---|
1461 | Date: Mon Oct 3 23:44:08 2011 -0400 |
---|
1462 | |
---|
1463 | API of ServerMap.version_on_server() |
---|
1464 | |
---|
1465 | src/allmydata/mutable/publish.py | 2 +- |
---|
1466 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1467 | src/allmydata/test/test_mutable.py | 5 ++--- |
---|
1468 | 3 files changed, 5 insertions(+), 6 deletions(-) |
---|
1469 | |
---|
1470 | commit 3e187e322511072e4683329df6b2c6c733a66dba |
---|
1471 | Author: Brian Warner <warner@lothar.com> |
---|
1472 | Date: Tue Oct 4 00:16:32 2011 -0400 |
---|
1473 | |
---|
1474 | API of ServerMap.make_sharemap() |
---|
1475 | |
---|
1476 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1477 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
1478 | src/allmydata/web/status.py | 4 ++-- |
---|
1479 | 3 files changed, 8 insertions(+), 7 deletions(-) |
---|
1480 | |
---|
1481 | commit 318feed8437bdd8d4943c6569d38f7b54b6313cc |
---|
1482 | Author: Brian Warner <warner@lothar.com> |
---|
1483 | Date: Mon Oct 3 23:36:19 2011 -0400 |
---|
1484 | |
---|
1485 | small cleanups |
---|
1486 | |
---|
1487 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1488 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1489 | |
---|
1490 | commit bd459ed5714e1db5a7163935c54b7b0b56db8349 |
---|
1491 | Author: Brian Warner <warner@lothar.com> |
---|
1492 | Date: Mon Oct 3 23:33:39 2011 -0400 |
---|
1493 | |
---|
1494 | API of ServerMap.add_new_share() |
---|
1495 | |
---|
1496 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1497 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
1498 | 2 files changed, 4 insertions(+), 6 deletions(-) |
---|
1499 | |
---|
1500 | commit f2804fb6ed11d80088e0da8ed48e6c2922f2ffef |
---|
1501 | Author: Brian Warner <warner@lothar.com> |
---|
1502 | Date: Mon Oct 3 23:30:26 2011 -0400 |
---|
1503 | |
---|
1504 | API of ServerMap.get_bad_shares() |
---|
1505 | |
---|
1506 | src/allmydata/mutable/publish.py | 3 +-- |
---|
1507 | src/allmydata/mutable/servermap.py | 9 ++++----- |
---|
1508 | 2 files changed, 5 insertions(+), 7 deletions(-) |
---|
1509 | |
---|
1510 | commit 965074a47b3ce1431cb46d9a233840afcf9105f5 |
---|
1511 | Author: Brian Warner <warner@lothar.com> |
---|
1512 | Date: Mon Oct 3 23:26:58 2011 -0400 |
---|
1513 | |
---|
1514 | more small cleanups |
---|
1515 | |
---|
1516 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1517 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1518 | |
---|
1519 | commit 38020da34f034f8889947dd3dc05e087ffff7106 |
---|
1520 | Author: Brian Warner <warner@lothar.com> |
---|
1521 | Date: Mon Oct 3 23:18:47 2011 -0400 |
---|
1522 | |
---|
1523 | change Publish.bad_share_checkstrings |
---|
1524 | |
---|
1525 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1526 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1527 | |
---|
1528 | commit 5efebcbd2ee0c2f299ea86f7591d856c0f265304 |
---|
1529 | Author: Brian Warner <warner@lothar.com> |
---|
1530 | Date: Mon Oct 3 23:16:31 2011 -0400 |
---|
1531 | |
---|
1532 | change internals of Publish.update_goal() |
---|
1533 | |
---|
1534 | src/allmydata/mutable/publish.py | 8 +++----- |
---|
1535 | 1 files changed, 3 insertions(+), 5 deletions(-) |
---|
1536 | |
---|
1537 | commit e91b55ff4c2a69165b71f2c7b217ac319ff4c527 |
---|
1538 | Author: Brian Warner <warner@lothar.com> |
---|
1539 | Date: Mon Oct 3 23:11:42 2011 -0400 |
---|
1540 | |
---|
1541 | get rid of Publish.connections |
---|
1542 | |
---|
1543 | src/allmydata/mutable/publish.py | 27 +++++---------------------- |
---|
1544 | 1 files changed, 5 insertions(+), 22 deletions(-) |
---|
1545 | |
---|
1546 | commit 64e9a53b3229ebe2f9ebf7ed502d539311d0e037 |
---|
1547 | Author: Brian Warner <warner@lothar.com> |
---|
1548 | Date: Mon Oct 3 23:05:32 2011 -0400 |
---|
1549 | |
---|
1550 | change Publish.bad_servers |
---|
1551 | |
---|
1552 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
1553 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1554 | |
---|
1555 | commit b85a934bef315a06bcfe00c9c12a3627fed2b918 |
---|
1556 | Author: Brian Warner <warner@lothar.com> |
---|
1557 | Date: Mon Oct 3 23:03:07 2011 -0400 |
---|
1558 | |
---|
1559 | Publish.bad_servers: fix bug, this should be a set of serverids, not writers |
---|
1560 | |
---|
1561 | src/allmydata/mutable/publish.py | 2 +- |
---|
1562 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1563 | |
---|
1564 | commit 605ea15ec15ed671513819003ccd211cdb9761e0 |
---|
1565 | Author: Brian Warner <warner@lothar.com> |
---|
1566 | Date: Mon Oct 3 23:00:21 2011 -0400 |
---|
1567 | |
---|
1568 | change .placed |
---|
1569 | |
---|
1570 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1571 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1572 | |
---|
1573 | commit f7aba37b1b345d5b6d5cb16e3b3f6f3c1afb658e |
---|
1574 | Author: Brian Warner <warner@lothar.com> |
---|
1575 | Date: Mon Oct 3 22:59:22 2011 -0400 |
---|
1576 | |
---|
1577 | temporarily stash IServer as .server on the "writer" object |
---|
1578 | |
---|
1579 | src/allmydata/mutable/publish.py | 2 ++ |
---|
1580 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
1581 | |
---|
1582 | commit f9b551d788e7db1f187fce5ab98ab5d5fe4e1c36 |
---|
1583 | Author: Brian Warner <warner@lothar.com> |
---|
1584 | Date: Mon Oct 3 22:48:18 2011 -0400 |
---|
1585 | |
---|
1586 | change Publish.goal and API of log_goal() to use IServer, not serverid |
---|
1587 | |
---|
1588 | src/allmydata/mutable/publish.py | 48 ++++++++++++++-------------- |
---|
1589 | 1 files changed, 24 insertions(+), 24 deletions(-) |
---|
1590 | |
---|
1591 | commit 75f20616558e4900b8b1f685dd99aa838de6d452 |
---|
1592 | Author: Brian Warner <warner@lothar.com> |
---|
1593 | Date: Mon Oct 3 15:27:02 2011 -0400 |
---|
1594 | |
---|
1595 | API of ServerMap.get_known_shares() |
---|
1596 | |
---|
1597 | src/allmydata/mutable/publish.py | 16 ++++++++++------ |
---|
1598 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1599 | 2 files changed, 12 insertions(+), 11 deletions(-) |
---|
1600 | |
---|
1601 | commit 1c38c9d37bb08221b4418762234b1a62397b3b4b |
---|
1602 | Author: Brian Warner <warner@lothar.com> |
---|
1603 | Date: Mon Oct 3 15:20:29 2011 -0400 |
---|
1604 | |
---|
1605 | Publish.full_serverlist |
---|
1606 | |
---|
1607 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
1608 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1609 | |
---|
1610 | commit b6cbd215a04b9cde31a7d92a97a7f048622b16f1 |
---|
1611 | Author: Brian Warner <warner@lothar.com> |
---|
1612 | Date: Mon Oct 3 15:12:31 2011 -0400 |
---|
1613 | |
---|
1614 | API of ServerMap.all_servers() |
---|
1615 | |
---|
1616 | src/allmydata/mutable/servermap.py | 19 ++++++------------- |
---|
1617 | 1 files changed, 6 insertions(+), 13 deletions(-) |
---|
1618 | |
---|
1619 | commit e63cd0315fae65357b1727ec6d5ff3c6e0d27c98 |
---|
1620 | Author: Brian Warner <warner@lothar.com> |
---|
1621 | Date: Mon Oct 3 15:10:18 2011 -0400 |
---|
1622 | |
---|
1623 | remove ServerMap.connections, set_rref_for_serverid() |
---|
1624 | |
---|
1625 | src/allmydata/mutable/servermap.py | 11 +---------- |
---|
1626 | 1 files changed, 1 insertions(+), 10 deletions(-) |
---|
1627 | |
---|
1628 | commit 4df52db2f80eb12eefa5d57103c24893cde89553 |
---|
1629 | Author: Brian Warner <warner@lothar.com> |
---|
1630 | Date: Mon Oct 3 15:04:06 2011 -0400 |
---|
1631 | |
---|
1632 | API of ServerMap.mark_server_reachable() |
---|
1633 | |
---|
1634 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1635 | 1 files changed, 2 insertions(+), 5 deletions(-) |
---|
1636 | |
---|
1637 | commit 69c715bde77944dc25181b3dbbeb042c816f9a1b |
---|
1638 | Author: Brian Warner <warner@lothar.com> |
---|
1639 | Date: Mon Oct 3 15:03:21 2011 -0400 |
---|
1640 | |
---|
1641 | API of ServerMap.mark_server_unreachable() |
---|
1642 | |
---|
1643 | src/allmydata/mutable/servermap.py | 9 +++------ |
---|
1644 | 1 files changed, 3 insertions(+), 6 deletions(-) |
---|
1645 | |
---|
1646 | commit 3d784d60eec1c508858e3a617e4411ffbcc3c1fa |
---|
1647 | Author: Brian Warner <warner@lothar.com> |
---|
1648 | Date: Mon Oct 3 15:02:03 2011 -0400 |
---|
1649 | |
---|
1650 | API of status.set_privkey_from() |
---|
1651 | |
---|
1652 | src/allmydata/mutable/servermap.py | 7 +++---- |
---|
1653 | 1 files changed, 3 insertions(+), 4 deletions(-) |
---|
1654 | |
---|
1655 | commit 544ed3ea29bed7e66da7fd29ca3f6f076f27a9e6 |
---|
1656 | Author: Brian Warner <warner@lothar.com> |
---|
1657 | Date: Mon Oct 3 15:01:15 2011 -0400 |
---|
1658 | |
---|
1659 | API of status.add_per_server_time() |
---|
1660 | |
---|
1661 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
1662 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1663 | |
---|
1664 | commit fffe5008b6320bd1e04c3c68389a2bf2ee383fa8 |
---|
1665 | Author: Brian Warner <warner@lothar.com> |
---|
1666 | Date: Mon Oct 3 14:59:02 2011 -0400 |
---|
1667 | |
---|
1668 | remove unused .versionmap |
---|
1669 | |
---|
1670 | src/allmydata/mutable/servermap.py | 7 ------- |
---|
1671 | 1 files changed, 0 insertions(+), 7 deletions(-) |
---|
1672 | |
---|
1673 | commit 2816562e090d2294179db3588dafcca18de1bc2b |
---|
1674 | Author: Brian Warner <warner@lothar.com> |
---|
1675 | Date: Mon Oct 3 14:57:51 2011 -0400 |
---|
1676 | |
---|
1677 | remove serverid from all log messages. Also one unused lambda. |
---|
1678 | |
---|
1679 | src/allmydata/mutable/servermap.py | 30 +++++++++++++------------- |
---|
1680 | 1 files changed, 15 insertions(+), 15 deletions(-) |
---|
1681 | |
---|
1682 | commit 28fa6b1a2738fa98c1f1dbd3d0e01ae98912d11f |
---|
1683 | Author: Brian Warner <warner@lothar.com> |
---|
1684 | Date: Mon Oct 3 14:54:30 2011 -0400 |
---|
1685 | |
---|
1686 | removed unused _readers |
---|
1687 | |
---|
1688 | src/allmydata/mutable/servermap.py | 3 --- |
---|
1689 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
1690 | |
---|
1691 | commit a8e4ed3d645ab592d1add6a1e69b6d1ebfb77817 |
---|
1692 | Author: Brian Warner <warner@lothar.com> |
---|
1693 | Date: Mon Oct 3 14:54:16 2011 -0400 |
---|
1694 | |
---|
1695 | remove unused _sharemap |
---|
1696 | |
---|
1697 | src/allmydata/mutable/servermap.py | 1 - |
---|
1698 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1699 | |
---|
1700 | commit 3f072e55cf1d0700f9fffe23f8f3a475725df588 |
---|
1701 | Author: Brian Warner <warner@lothar.com> |
---|
1702 | Date: Mon Oct 3 14:49:03 2011 -0400 |
---|
1703 | |
---|
1704 | _must_query |
---|
1705 | |
---|
1706 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
1707 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
1708 | |
---|
1709 | commit c599a059b8df3f5785e4bf89fb6ecc6d8dcd708b |
---|
1710 | Author: Brian Warner <warner@lothar.com> |
---|
1711 | Date: Mon Oct 3 14:48:05 2011 -0400 |
---|
1712 | |
---|
1713 | _queries_outstanding |
---|
1714 | |
---|
1715 | src/allmydata/mutable/servermap.py | 16 +++++++--------- |
---|
1716 | 1 files changed, 7 insertions(+), 9 deletions(-) |
---|
1717 | |
---|
1718 | commit 7743759f98ac2c07926b2fdbd80bf52dfab33085 |
---|
1719 | Author: Brian Warner <warner@lothar.com> |
---|
1720 | Date: Mon Oct 3 14:46:17 2011 -0400 |
---|
1721 | |
---|
1722 | _empty_servers |
---|
1723 | |
---|
1724 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1725 | 1 files changed, 2 insertions(+), 3 deletions(-) |
---|
1726 | |
---|
1727 | commit 6bb1825916828a713a32cdf7f7411fa3ea2e1e5d |
---|
1728 | Author: Brian Warner <warner@lothar.com> |
---|
1729 | Date: Mon Oct 3 14:45:39 2011 -0400 |
---|
1730 | |
---|
1731 | _good_servers |
---|
1732 | |
---|
1733 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1734 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1735 | |
---|
1736 | commit 1768fab1b51d8dd93ecabbaaabfadfa20cf6c3d4 |
---|
1737 | Author: Brian Warner <warner@lothar.com> |
---|
1738 | Date: Mon Oct 3 14:44:59 2011 -0400 |
---|
1739 | |
---|
1740 | _bad_servers |
---|
1741 | |
---|
1742 | src/allmydata/mutable/servermap.py | 14 +++++++------- |
---|
1743 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
1744 | |
---|
1745 | commit dccbaef30f0ba714c746bf6d4a1a803c36e17b65 |
---|
1746 | Author: Brian Warner <warner@lothar.com> |
---|
1747 | Date: Mon Oct 3 14:41:54 2011 -0400 |
---|
1748 | |
---|
1749 | API of _try_to_set_pubkey() |
---|
1750 | |
---|
1751 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
1752 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1753 | |
---|
1754 | commit 0481ea70042ba3575f15eac7fd0780f8ece580cc |
---|
1755 | Author: Brian Warner <warner@lothar.com> |
---|
1756 | Date: Mon Oct 3 14:35:02 2011 -0400 |
---|
1757 | |
---|
1758 | API of notify_server_corruption() |
---|
1759 | |
---|
1760 | src/allmydata/mutable/servermap.py | 6 +++--- |
---|
1761 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1762 | |
---|
1763 | commit bea9cba18fb3b9c11bb22f18356a263ecec7351e |
---|
1764 | Author: Brian Warner <warner@lothar.com> |
---|
1765 | Date: Mon Oct 3 14:34:09 2011 -0400 |
---|
1766 | |
---|
1767 | API of _got_signature_one_share() |
---|
1768 | |
---|
1769 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1770 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1771 | |
---|
1772 | commit 1520123583cf78650706e114b15bb5b0ac1f4a14 |
---|
1773 | Author: Brian Warner <warner@lothar.com> |
---|
1774 | Date: Mon Oct 3 14:32:33 2011 -0400 |
---|
1775 | |
---|
1776 | API of _try_to_validate_privkey() |
---|
1777 | |
---|
1778 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1779 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1780 | |
---|
1781 | commit 938852c9c8519c7a078f58a9b1f4dd8ec8b6715e |
---|
1782 | Author: Brian Warner <warner@lothar.com> |
---|
1783 | Date: Mon Oct 3 14:31:48 2011 -0400 |
---|
1784 | |
---|
1785 | API and internals of _add_lease_failed() |
---|
1786 | |
---|
1787 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
1788 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
1789 | |
---|
1790 | commit 3843dba367e3c19e176a622ab853cb51d2472ddf |
---|
1791 | Author: Brian Warner <warner@lothar.com> |
---|
1792 | Date: Mon Oct 3 14:30:37 2011 -0400 |
---|
1793 | |
---|
1794 | API of _privkey_query_failed() |
---|
1795 | |
---|
1796 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1797 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1798 | |
---|
1799 | commit 2219a710e1633cd57d0ca0786490de87b3e19ba7 |
---|
1800 | Author: Brian Warner <warner@lothar.com> |
---|
1801 | Date: Mon Oct 3 14:29:43 2011 -0400 |
---|
1802 | |
---|
1803 | fix bug in call to _privkey_query_failed, unrelated to refactoring |
---|
1804 | |
---|
1805 | src/allmydata/mutable/servermap.py | 2 +- |
---|
1806 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1807 | |
---|
1808 | commit ae615bec7d0d1b269710b6902797b12f9592ad62 |
---|
1809 | Author: Brian Warner <warner@lothar.com> |
---|
1810 | Date: Mon Oct 3 14:27:17 2011 -0400 |
---|
1811 | |
---|
1812 | API of _got_corrupt_share() |
---|
1813 | |
---|
1814 | src/allmydata/mutable/servermap.py | 17 +++++++++-------- |
---|
1815 | 1 files changed, 9 insertions(+), 8 deletions(-) |
---|
1816 | |
---|
1817 | commit cb51c95a6f4e077278157a77dab060c8c1ad7a81 |
---|
1818 | Author: Brian Warner <warner@lothar.com> |
---|
1819 | Date: Mon Oct 3 14:23:16 2011 -0400 |
---|
1820 | |
---|
1821 | API of _got_results() |
---|
1822 | |
---|
1823 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1824 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1825 | |
---|
1826 | commit bac9154fe0af18f226999a58ffc2362d8cf4b802 |
---|
1827 | Author: Brian Warner <warner@lothar.com> |
---|
1828 | Date: Mon Oct 3 14:19:19 2011 -0400 |
---|
1829 | |
---|
1830 | API of _query_failed() |
---|
1831 | |
---|
1832 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1833 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1834 | |
---|
1835 | commit fdc29a8ca95d4b5c503e5382b9e5d4d02141ba12 |
---|
1836 | Author: Brian Warner <warner@lothar.com> |
---|
1837 | Date: Mon Oct 3 14:17:20 2011 -0400 |
---|
1838 | |
---|
1839 | API of _do_read() |
---|
1840 | |
---|
1841 | src/allmydata/mutable/servermap.py | 6 ++++-- |
---|
1842 | 1 files changed, 4 insertions(+), 2 deletions(-) |
---|
1843 | |
---|
1844 | commit e7e9e338f28d004aa4d423d11c65f1e271ac7322 |
---|
1845 | Author: Brian Warner <warner@lothar.com> |
---|
1846 | Date: Mon Oct 3 14:20:21 2011 -0400 |
---|
1847 | |
---|
1848 | API of _do_query() |
---|
1849 | |
---|
1850 | src/allmydata/mutable/servermap.py | 15 +++++++-------- |
---|
1851 | 1 files changed, 7 insertions(+), 8 deletions(-) |
---|
1852 | |
---|
1853 | commit 330625b9dac4cdbe72a11464a893065b9aeed453 |
---|
1854 | Author: Brian Warner <warner@lothar.com> |
---|
1855 | Date: Mon Oct 3 14:43:05 2011 -0400 |
---|
1856 | |
---|
1857 | next step: first batch of updates to ServermapUpdater |
---|
1858 | |
---|
1859 | updates: |
---|
1860 | most method-local variables in update() |
---|
1861 | API of _build_initial_querylist() |
---|
1862 | API of _send_initial_requests() |
---|
1863 | .full_serverlist |
---|
1864 | .extra_servers |
---|
1865 | |
---|
1866 | src/allmydata/mutable/servermap.py | 39 ++++++++++++++------------ |
---|
1867 | 1 files changed, 21 insertions(+), 18 deletions(-) |
---|
1868 | |
---|
1869 | commit 4aadc584fa7dcb2daa86b048c81dee0049ba26d9 |
---|
1870 | Author: Brian Warner <warner@lothar.com> |
---|
1871 | Date: Mon Oct 3 15:07:00 2011 -0400 |
---|
1872 | |
---|
1873 | internal change: index _bad_shares with IServer |
---|
1874 | |
---|
1875 | src/allmydata/mutable/servermap.py | 20 ++++++++++---------- |
---|
1876 | 1 files changed, 10 insertions(+), 10 deletions(-) |
---|
1877 | |
---|
1878 | commit 16d4e6fa82a9907dbdc92094213387c6a4164e41 |
---|
1879 | Author: Brian Warner <warner@lothar.com> |
---|
1880 | Date: Mon Oct 3 18:20:47 2011 +0100 |
---|
1881 | |
---|
1882 | internal change: index _known_shares with IServer instead of serverid |
---|
1883 | |
---|
1884 | callers are unchanged |
---|
1885 | |
---|
1886 | src/allmydata/mutable/servermap.py | 42 +++++++++++++++---------- |
---|
1887 | 1 files changed, 25 insertions(+), 17 deletions(-) |
---|
1888 | |
---|
1889 | commit ceeb5f4938cc814a0c75d1b8f4018aed965c2176 |
---|
1890 | Author: Brian Warner <warner@lothar.com> |
---|
1891 | Date: Mon Oct 3 18:11:43 2011 +0100 |
---|
1892 | |
---|
1893 | accessors and name cleanup for servermap.Servermap.last_update_mode/time |
---|
1894 | |
---|
1895 | src/allmydata/mutable/filenode.py | 6 +++--- |
---|
1896 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1897 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1898 | 3 files changed, 16 insertions(+), 11 deletions(-) |
---|
1899 | |
---|
1900 | commit 8d3cbda82661c0a7e5c3d3b65cf7a5d5ab7e32c0 |
---|
1901 | Author: Brian Warner <warner@lothar.com> |
---|
1902 | Date: Mon Oct 3 18:11:14 2011 +0100 |
---|
1903 | |
---|
1904 | accessors and name cleanup for servermap.Servermap.problems |
---|
1905 | |
---|
1906 | src/allmydata/mutable/servermap.py | 21 +++++++++++++-------- |
---|
1907 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1908 | 2 files changed, 16 insertions(+), 11 deletions(-) |
---|
1909 | |
---|
1910 | commit 348f57988f79389db0aab7672e6eaa9a6d8e3219 |
---|
1911 | Author: Brian Warner <warner@lothar.com> |
---|
1912 | Date: Mon Oct 3 18:10:41 2011 +0100 |
---|
1913 | |
---|
1914 | accessors and name cleanup for servermap.Servermap.bad_shares |
---|
1915 | |
---|
1916 | src/allmydata/mutable/publish.py | 2 +- |
---|
1917 | src/allmydata/mutable/servermap.py | 30 ++++++++++++++----------- |
---|
1918 | 2 files changed, 18 insertions(+), 14 deletions(-) |
---|
1919 | |
---|
1920 | commit 520c9368134673cdf76c653c5e1bb91c2ab5d51e |
---|
1921 | Author: Brian Warner <warner@lothar.com> |
---|
1922 | Date: Mon Oct 3 18:10:05 2011 +0100 |
---|
1923 | |
---|
1924 | accessors and name cleanup for servermap.Servermap.servermap . |
---|
1925 | |
---|
1926 | src/allmydata/mutable/publish.py | 14 +++++---- |
---|
1927 | src/allmydata/mutable/servermap.py | 38 ++++++++++++++----------- |
---|
1928 | 2 files changed, 29 insertions(+), 23 deletions(-) |
---|
1929 | |
---|
1930 | commit b8b8dc38287a91dbdf494426ac801d9381ce5841 |
---|
1931 | Author: Brian Warner <warner@lothar.com> |
---|
1932 | Date: Mon Oct 3 18:08:02 2011 +0100 |
---|
1933 | |
---|
1934 | fix reachable_servers |
---|
1935 | |
---|
1936 | src/allmydata/mutable/checker.py | 3 ++- |
---|
1937 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1938 | src/allmydata/mutable/servermap.py | 12 ++++++++++-- |
---|
1939 | 3 files changed, 15 insertions(+), 4 deletions(-) |
---|
1940 | |
---|
1941 | commit cb0cfd1adfefad357c187aaaf690c3df68b622bc |
---|
1942 | Author: Brian Warner <warner@lothar.com> |
---|
1943 | Date: Mon Oct 3 18:06:03 2011 +0100 |
---|
1944 | |
---|
1945 | fix Servermap.unreachable_servers |
---|
1946 | |
---|
1947 | src/allmydata/mutable/servermap.py | 11 ++++++++--- |
---|
1948 | 1 files changed, 8 insertions(+), 3 deletions(-) |
---|
1949 | |
---|
1950 | commit 2d9ea79b94bd4db674d40386fda90825785ac495 |
---|
1951 | Author: Brian Warner <warner@lothar.com> |
---|
1952 | Date: Mon Oct 3 18:03:48 2011 +0100 |
---|
1953 | |
---|
1954 | give ServerMap a StorageFarmBroker, temporary |
---|
1955 | |
---|
1956 | this makes it possible for the ServerMap to accept bare serverids and still |
---|
1957 | build data structures with IServers |
---|
1958 | |
---|
1959 | src/allmydata/mutable/checker.py | 2 +- |
---|
1960 | src/allmydata/mutable/filenode.py | 2 +- |
---|
1961 | src/allmydata/mutable/publish.py | 2 +- |
---|
1962 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1963 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
1964 | 5 files changed, 10 insertions(+), 9 deletions(-) |
---|
1965 | |
---|
1966 | commit 718d1aeff6fded893f65397806d22ece928b0dd4 |
---|
1967 | Author: Brian Warner <warner@lothar.com> |
---|
1968 | Date: Mon Oct 3 13:43:30 2011 -0400 |
---|
1969 | |
---|
1970 | add StorageFarmBroker.get_server_for_id(), temporary helper |
---|
1971 | |
---|
1972 | This will go away once we're passing IServers everywhere. |
---|
1973 | |
---|
1974 | src/allmydata/storage_client.py | 2 ++ |
---|
1975 | src/allmydata/test/no_network.py | 13 +++++++++++++ |
---|
1976 | 2 files changed, 15 insertions(+), 0 deletions(-) |
---|
1977 | |
---|
1978 | commit ece20231d7fda0d503704842a4aa068dfbc2e54e |
---|
1979 | Author: Brian Warner <warner@lothar.com> |
---|
1980 | Date: Sun Oct 2 01:11:50 2011 +0100 |
---|
1981 | |
---|
1982 | add proper accessors for Servermap.connections, to make refactoring easier |
---|
1983 | |
---|
1984 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1985 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1986 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1987 | 3 files changed, 19 insertions(+), 14 deletions(-) |
---|
1988 | |
---|
1989 | commit 3b943d6bf302ff702668081a612fc4fe2604cf9c |
---|
1990 | Author: Brian Warner <warner@lothar.com> |
---|
1991 | Date: Fri Sep 23 10:34:30 2011 -0700 |
---|
1992 | |
---|
1993 | mutable/servermap.py and neighbors: s/peer/server/ |
---|
1994 | |
---|
1995 | src/allmydata/mutable/checker.py | 22 +- |
---|
1996 | src/allmydata/mutable/publish.py | 204 +++++++------- |
---|
1997 | src/allmydata/mutable/servermap.py | 402 +++++++++++++------------- |
---|
1998 | src/allmydata/test/test_mutable.py | 18 +- |
---|
1999 | 4 files changed, 323 insertions(+), 323 deletions(-) |
---|
2000 | ] |
---|
2001 | [TAG allmydata-tahoe-1.9.0 |
---|
2002 | warner@lothar.com**20111031052301 |
---|
2003 | Ignore-this: cf598210dd1f314a1a121bf29a3d5918 |
---|
2004 | ] |
---|
2005 | Patch bundle hash: |
---|
2006 | c95fce5e79f782a818f255046db413a47248c8b3 |
---|