Author: toad
Date: 2008-08-30 00:19:53 +0000 (Sat, 30 Aug 2008)
New Revision: 22241
Modified:
branches/db4o/freenet/src/freenet/client/FECQueue.java
Log:
Don't clobber the check blocks.
Modified: branches/db4o/freenet/src/freenet/client/FECQueue.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/FECQueue.java 2008-08-29
23:43:12 UTC (rev 22240)
+++ branches/db4o/freenet/src/freenet/client/FECQueue.java 2008-08-30
00:19:53 UTC (rev 22241)
@@ -192,7 +192,10 @@
databaseJobRunner.queue(new DBJob() {
public void
run(ObjectContainer container, ClientContext context) {
-
container.activate(job, 2);
+ //
Don't activate the job itself.
+ // It
MUST already be activated, because it is carrying the status blocks.
+ // The
status blocks have been set on the FEC thread but *not stored* because
+ // they
can't be stored on the FEC thread.
container.activate(job.callback, 1);
if(Logger.shouldLog(Logger.MINOR, this))
Logger.minor(this, "Running callback for "+job);