On Wednesday 30 July 2008 00:02, nextgens at freenetproject.org wrote:
> Author: nextgens
> Date: 2008-07-29 23:02:45 +0000 (Tue, 29 Jul 2008)
> New Revision: 21497
>
> Modified:
> trunk/freenet/src/freenet/node/updater/UpdateOverMandatoryManager.java
> Log:
> updater: maybe fix the fetch over and over problem
>
> Modified:
trunk/freenet/src/freenet/node/updater/UpdateOverMandatoryManager.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/updater/UpdateOverMandatoryManager.java
2008-07-29 22:51:05 UTC (rev 21496)
> +++ trunk/freenet/src/freenet/node/updater/UpdateOverMandatoryManager.java
2008-07-29 23:02:45 UTC (rev 21497)
> @@ -241,6 +241,7 @@
>
> private void sendUOMRequestMain(final PeerNode source, boolean
> addOnFail)
{
> synchronized(this) {
> + if(updateManager.getMainVersion() >=
> updateManager.newMainJarVersion())
return;
"If the version we are running is greater than or equal to the version the
non-UOM updater has fetched (which defaults to 0 afaics) then don't do UOM".
Well, it may prevent fetching over and over ... but it will likely prevent
fetching via UOM entirely, especially in the cases where we most need it (we
are unable to fetch it from the network).
So no, I don't think this is the fix...
> if(nodesAskedSendMainJar.contains(source)) {
> if(logMINOR) Logger.minor(this, "Recently asked
> node "+source+" so not
re-asking yet.");
> return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080802/80acfcb7/attachment.pgp>