r27208 - trunk/freenet/src/freenet/node/fcp
[email protected] Wed, 22 Apr 2009 11:44:17 +0000
| Newsgroups | gmane.network.freenet.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: saces
Date: 2009-04-22 11:44:17 +0000 (Wed, 22 Apr 2009)
New Revision: 27208
Modified:
trunk/freenet/src/freenet/node/fcp/PersistentPutDir.java
Log:
indent: add TODO/RESOLVE
Modified: trunk/freenet/src/freenet/node/fcp/PersistentPutDir.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/PersistentPutDir.java 2009-04-22 10:47:58 UTC (rev 27207)
+++ trunk/freenet/src/freenet/node/fcp/PersistentPutDir.java 2009-04-22 11:44:17 UTC (rev 27208)
@@ -66,6 +66,10 @@
SimpleFieldSet files = new SimpleFieldSet(false);
// Flatten the hierarchy, it can be reconstructed on restarting.
// Storing it directly would be a PITA.
+ // FIXME/RESOLVE: The new BaseManifestPutter's container mode does not hold the origin data,
+ // after composing the PutHandlers (done in BaseManifestPutter), they are 'lost':
+ // A resumed half done container put can not get the complete file list from BaseManifestPutter.
+ // Is it really necessary to include the file list here?
ManifestElement[] elements = SimpleManifestPutter.flatten(manifestElements);
fs.putSingle("DefaultName", defaultName);
for(int i=0;i<elements.length;i++) {