Author: toad
Date: 2008-02-04 23:34:44 +0000 (Mon, 04 Feb 2008)
New Revision: 17530
Modified:
trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
More logging.
Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java 2008-02-04
23:33:13 UTC (rev 17529)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java 2008-02-04
23:34:44 UTC (rev 17530)
@@ -315,8 +315,10 @@
PeerNode pn = (PeerNode) ref.get();
if(pn == null) continue;
if(pn.getBootID() != requestorBootIDs[i]) continue;
+ if(!set.add(pn)) {
+ Logger.error(this, "Node is in requestorNodes
twice: "+pn);
+ }
pn.offer(key);
- set.add(pn);
}
if(logMINOR) Logger.minor(this, "Sending offers to nodes which
we sent the key to:");
for(int i=0;i<requestedNodes.length;i++) {