gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14987 - in gnunet: . src src/include


From: gnunet
Subject: [GNUnet-SVN] r14987 - in gnunet: . src src/include
Date: Fri, 15 Apr 2011 13:29:01 +0200

Author: grothoff
Date: 2011-04-15 13:29:01 +0200 (Fri, 15 Apr 2011)
New Revision: 14987

Modified:
   gnunet/TODO
   gnunet/src/Makefile.am
   gnunet/src/include/gnunet_datastore_plugin.h
   gnunet/src/include/gnunet_datastore_service.h
Log:
update

Modified: gnunet/TODO
===================================================================
--- gnunet/TODO 2011-04-15 11:22:50 UTC (rev 14986)
+++ gnunet/TODO 2011-04-15 11:29:01 UTC (rev 14987)
@@ -1,7 +1,6 @@
 0.9.0pre3: [2'11]
 * DATASTORE:
-  - get_random seems to not just return a SINGLE value, but an entire
-    sequence of values... => migration queue overflows!
+  - postgres support currently not implemented
 * NAT/UPNP: [Milan / Ayush / MW]
   - [#1609] code clean up
   - testing
@@ -11,6 +10,8 @@
 * Transport:
   - UDP fragmentation
 * FS/CORE [CG]
+  - adjust service to deal with new datastore API (also crashes all over the 
place still,
+    likely related).
   - download of 100 MB file from 'leach' peer hung due to 
     failure of core-api to call back after a change preference request
     (structs indicate request was transmitted but reply never received?)

Modified: gnunet/src/Makefile.am
===================================================================
--- gnunet/src/Makefile.am      2011-04-15 11:22:50 UTC (rev 14986)
+++ gnunet/src/Makefile.am      2011-04-15 11:29:01 UTC (rev 14987)
@@ -8,7 +8,6 @@
 endif
 endif
 if HAVE_EXPERIMENTAL
- DS_exp = datastore
  FS_exp = fs
 endif
 
@@ -22,7 +21,7 @@
   $(MONKEY_DIR) \
   peerinfo \
   datacache \
-  $(DS_exp) \
+  datastore \
   template \
   nat \
   transport \

Modified: gnunet/src/include/gnunet_datastore_plugin.h
===================================================================
--- gnunet/src/include/gnunet_datastore_plugin.h        2011-04-15 11:22:50 UTC 
(rev 14986)
+++ gnunet/src/include/gnunet_datastore_plugin.h        2011-04-15 11:29:01 UTC 
(rev 14987)
@@ -325,9 +325,9 @@
   /**
    * Function to get a random item with high replication score from
    * the database, lowering the item's replication score.  Returns a
-   * single, not expired, random item from those with the highest
-   * replication counters.  The item's replication counter is
-   * decremented by one IF it was positive before.
+   * single random item from those with the highest replication
+   * counters.  The item's replication counter is decremented by one
+   * IF it was positive before.
    */
   PluginRandomGet replication_get;
 

Modified: gnunet/src/include/gnunet_datastore_service.h
===================================================================
--- gnunet/src/include/gnunet_datastore_service.h       2011-04-15 11:22:50 UTC 
(rev 14986)
+++ gnunet/src/include/gnunet_datastore_service.h       2011-04-15 11:29:01 UTC 
(rev 14987)
@@ -52,6 +52,10 @@
  */
 struct GNUNET_DATASTORE_Handle;
 
+/**
+ * Maximum size of a value that can be stored in the datastore.
+ */
+#define GNUNET_DATASTORE_MAX_VALUE_SIZE 65536
 
 /**
  * Connect to the datastore service.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]