Hi
Some versions of linux can run the clock backwards when NTP updates the time.
This bugglet is fixed in 2.6-test9. I am not sure of the status in 2.4. This might
be the cause of this error.
Ed
On October 31, 2003 02:46 pm, Matthew Toseland wrote:
> Update of /cvsroot/freenet/freenet/src/freenet/node/rt
> In directory sc8-pr-cvs1:/tmp/cvs-serv19791/src/freenet/node/rt
>
> Modified Files:
> NGRouting.java
> Log Message:
> 6291: try to catch negative reports in NGRouting.
>
> Index: NGRouting.java
> ===================================================================
> RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/NGRouting.java,v
> retrieving revision 1.13
> retrieving revision 1.14
> diff -u -w -r1.13 -r1.14
> --- NGRouting.java 31 Oct 2003 19:38:22 -0000 1.13
> +++ NGRouting.java 31 Oct 2003 19:46:49 -0000 1.14
> @@ -142,7 +142,12 @@
>
> public void queryRejected(boolean cached, long attenuation) {
> long now = System.currentTimeMillis();
> - searchFailed(now - lastTime);
> + long diff = now - lastTime;
> + searchFailed(diff);
> + if(diff < 0) {
> + Core.logger.log(this, "WTF? queryRejected causing negative searchFailed
> time: now="+
+ now+", lastTime="+lastTime+", diff="+diff+" on "+this,
> Logger.ERROR); + }
> lastTime = now;
> }
>
>
> _______________________________________________
> cvs mailing list
> [EMAIL PROTECTED]
> http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>
_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl