]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
tidy up DeadReferenceError handling, ignore them in add_lease calls
authorBrian Warner <warner@lothar.com>
Tue, 12 Jan 2010 00:07:23 +0000 (16:07 -0800)
committerBrian Warner <warner@lothar.com>
Tue, 12 Jan 2010 00:07:23 +0000 (16:07 -0800)
commitbacb6fe5aad1f4169ebccadf58c310e9a791aa52
tree84f51b9ee04977df5868dd3ad686cc719481743d
parent222148eaeeaca5671fa949e4a2e62549cb83d4f9
tidy up DeadReferenceError handling, ignore them in add_lease calls

Stop checking separately for ConnectionDone/ConnectionLost, since those have
been folded into DeadReferenceError since foolscap-0.3.1 . Write
rrefutil.trap_deadref() in terms of rrefutil.trap_and_discard() to improve
code coverage.
src/allmydata/immutable/checker.py
src/allmydata/mutable/servermap.py
src/allmydata/stats.py
src/allmydata/test/test_system.py
src/allmydata/util/rrefutil.py