Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv11480/src/freenet/node
Modified Files:
Tag: ngrouting
Main.java
Log Message:
Build 7046:
Main objectives of this build are to improve routing success stats, fix deadlocks and
fix RNFs.
Major ASL bugfix: fix race that could lead to connections getting closed without the
client being notified.
MAJOR *SL work: Zab fixed some *SL deadlocks.
Change logging of success/failure of Routing, to take into account whether or not the
failure was apparently caused by routing. Add new diagnostic vars
requestFailureRoutingOrNotRatio, routingSuccessRatio. Change and consolidate
terminate() calls all over request/. Minor changes all over states/request: Set
insertReplyTime *before* sending it on, comment out logFailure*/logSuccess, update
comments, logging, move *Time assignment after fromLastPeer check in
receivedQueryRestarted (conceivably exploitable to bias stats), make backtracking
QueryRejected async in Pending, make sure IOExceptions from the store are treated
differently to IOExceptions from the network (which are like DNVs) in
Pending.received(,DataReply), consolidate routes.terminate() calls into a function on
RequestState, improve some toString()s, change exactly where we terminate the routing
some places. Reindenting, code restyling
Index: Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.234.2.13
retrieving revision 1.234.2.14
diff -u -r1.234.2.13 -r1.234.2.14
--- Main.java 28 Aug 2003 01:33:25 -0000 1.234.2.13
+++ Main.java 29 Aug 2003 18:58:06 -0000 1.234.2.14
@@ -1985,6 +1985,13 @@
"The number of requests started,
and the "+
"number that successfully returned
data.",
messages);
+ d.registerBinomial("requestFailureRoutingOrNotRatio", d.MINUTE,
+ "The number of failing requests,
and the "+
+ "number that failed due to
routing.",
+ messages);
+ d.registerBinomial("routingSuccessRatio", d.MINUTE,
+ "Requests that failed or succeeded
by routing, "+
+ "and the number that succeeded.",
messages);
d.registerBinomial("receivedData", d.MINUTE,
"The number of times data was received, and " +
"whether receiving was successful.", messages);
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs