Author: toad
Date: 2008-09-01 19:47:22 +0000 (Mon, 01 Sep 2008)
New Revision: 22309

Modified:
   branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
Log:
Activation (inserts)


Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java      
2008-09-01 18:11:03 UTC (rev 22308)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java      
2008-09-01 19:47:22 UTC (rev 22309)
@@ -673,8 +673,6 @@
                }

                public void onBlockSetFinished(ClientPutState state, 
ObjectContainer container, ClientContext context) {
-                       if(persistent) // FIXME debug-point
-                               if(logMINOR) Logger.minor(this, 
"onBlockSetFinished() for "+state+" on "+this);
                        synchronized(this) {
                                if(state == sfi)
                                        splitInsertSetBlocks = true;
@@ -685,6 +683,8 @@
                                if(!(splitInsertSetBlocks && 
metaInsertSetBlocks)) 
                                        return;
                        }
+                       if(persistent)
+                               container.activate(cb, 1);
                        cb.onBlockSetFinished(this, container, context);
                }



Reply via email to