]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
UNDO: forget about old peers (closes #26)
authorBrian Warner <warner@allmydata.com>
Tue, 8 May 2007 02:10:24 +0000 (19:10 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 8 May 2007 02:10:24 +0000 (19:10 -0700)
commit82ba0f854090e3b37aeb4377ad3eef901616ed0d
treec92ba355ccf8d15c0aac069eeee33d667f1eaed7
parent04af4a48b551f2a8ab7fc508c39e9d9283fc72f8
UNDO: forget about old peers (closes #26)
Add a new method to RIIntroducer, to allow the central introducer node to
remove peers from the active set after they've gone away. Without this,
client nodes accumulate stale peer FURLs forever. This introduces a
compatibility break, as old introducers won't know about the 'lost_peers'
message, although the errors produced are probably harmless.
src/allmydata/interfaces.py
src/allmydata/introducer.py
src/allmydata/test/test_introducer.py