Author: toad
Date: 2009-03-18 18:23:00 +0000 (Wed, 18 Mar 2009)
New Revision: 26097
Modified:
branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Yet another COR-1436 fix
Modified: branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java 2009-03-18
18:21:02 UTC (rev 26096)
+++ branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java 2009-03-18
18:23:00 UTC (rev 26097)
@@ -121,8 +121,10 @@
completedUnackedRequests.add(get);
if(container != null) {
container.store(get);
-
container.store(runningPersistentRequests);
-
container.store(completedUnackedRequests);
+ //
http://tracker.db4o.com/browse/COR-1436
+ // If we don't specify depth, we end up
updating everything, resulting in Bad Things (especially on
ClientPutDir.manifestElements!)
+
container.ext().store(runningPersistentRequests, 2);
+
container.ext().store(completedUnackedRequests, 2);
}
}
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs