[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9791 - GNUnet/src/applications/fs/ecrs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9791 - GNUnet/src/applications/fs/ecrs |
Date: |
Fri, 18 Dec 2009 16:38:35 +0100 |
Author: grothoff
Date: 2009-12-18 16:38:35 +0100 (Fri, 18 Dec 2009)
New Revision: 9791
Modified:
GNUnet/src/applications/fs/ecrs/upload.c
Log:
fixing test case failure
Modified: GNUnet/src/applications/fs/ecrs/upload.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/upload.c 2009-12-18 08:54:55 UTC (rev
9790)
+++ GNUnet/src/applications/fs/ecrs/upload.c 2009-12-18 15:38:35 UTC (rev
9791)
@@ -192,7 +192,13 @@
if (GNUNET_YES == GNUNET_FS_test_indexed (sock, &fileId))
{
/* file already indexed; simulate only to get the URI! */
- doIndex = GNUNET_SYSERR;
+ /* doIndex = GNUNET_SYSERR; */
+ /* The above optimization is not quite correct since we
+ may list the file as indexed but might have removed
+ individual blocks from the datastore already if the
+ indexed file "temporarily" disappeared; in order to
+ ensure that re-indexing of such a file actually
+ "repairs" the database, we must not skip the work here */
}
}
if (doIndex == GNUNET_YES)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9791 - GNUnet/src/applications/fs/ecrs,
gnunet <=