[mnet-devel] changes wanted for v0.6.1.209-STABLE

Zooko zooko at zooko.com
Tue Apr 22 17:20:56 BST 2003


There are two improvements -- straightforward to implement -- that I want for 
v0.6.1.209-STABLE.

1.  At the beginning of a publish session, force remote lookup of publish-
accepting block servers.  This is accomplished by simply adding an optional 
argument 'doremotequery="forceremotequery"' in the call to 
'get_publishing_block_servers_and_call_back()'.

This fixes the problem that a node can know only 8 publish-accepting block 
servers, and publish all blocks to those 8 without ever looking to meet new 
ones.

2.  At the beginning of a download, and every few minutes thereafter, do a 
remote query for blockservers.  This could be implemented with a DoQ.DoQLoop 
which gets started when the blockwrangler goes from "not wanting any blocks" to 
"wanting at least one block", and gets stopped when it goes from "wanting at 
least one block" to "not wanting any blocks".

The body of the DoQ.DoQLoop would call 
MetaTrackerLib.get_block_servers_and_call_back(doremotequery="forceremotequery", callback=lambda result: None)

This fixes the problem that a node can know only 120 block servers, and try 
endlessly to download from them without ever seeking to meet new ones.

I don't have time to do these right now, and it would be great if someone else 
would at least do the first one and test it.  I'm moving to a new house this 
week and Amber is studying for finals.

--Z



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list