diff options
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/include/gnunet_datastore_plugin.h | 6 | ||||
-rw-r--r-- | src/include/gnunet_datastore_service.h | 4 |
4 files changed, 11 insertions, 7 deletions
@@ -1,7 +1,6 @@ | |||
1 | 0.9.0pre3: [2'11] | 1 | 0.9.0pre3: [2'11] |
2 | * DATASTORE: | 2 | * DATASTORE: |
3 | - get_random seems to not just return a SINGLE value, but an entire | 3 | - postgres support currently not implemented |
4 | sequence of values... => migration queue overflows! | ||
5 | * NAT/UPNP: [Milan / Ayush / MW] | 4 | * NAT/UPNP: [Milan / Ayush / MW] |
6 | - [#1609] code clean up | 5 | - [#1609] code clean up |
7 | - testing | 6 | - testing |
@@ -11,6 +10,8 @@ | |||
11 | * Transport: | 10 | * Transport: |
12 | - UDP fragmentation | 11 | - UDP fragmentation |
13 | * FS/CORE [CG] | 12 | * FS/CORE [CG] |
13 | - adjust service to deal with new datastore API (also crashes all over the place still, | ||
14 | likely related). | ||
14 | - download of 100 MB file from 'leach' peer hung due to | 15 | - download of 100 MB file from 'leach' peer hung due to |
15 | failure of core-api to call back after a change preference request | 16 | failure of core-api to call back after a change preference request |
16 | (structs indicate request was transmitted but reply never received?) | 17 | (structs indicate request was transmitted but reply never received?) |
diff --git a/src/Makefile.am b/src/Makefile.am index 1b88b08d2..7b40eeb73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -8,7 +8,6 @@ if HAVE_OPENSSL | |||
8 | endif | 8 | endif |
9 | endif | 9 | endif |
10 | if HAVE_EXPERIMENTAL | 10 | if HAVE_EXPERIMENTAL |
11 | DS_exp = datastore | ||
12 | FS_exp = fs | 11 | FS_exp = fs |
13 | endif | 12 | endif |
14 | 13 | ||
@@ -22,7 +21,7 @@ SUBDIRS = \ | |||
22 | $(MONKEY_DIR) \ | 21 | $(MONKEY_DIR) \ |
23 | peerinfo \ | 22 | peerinfo \ |
24 | datacache \ | 23 | datacache \ |
25 | $(DS_exp) \ | 24 | datastore \ |
26 | template \ | 25 | template \ |
27 | nat \ | 26 | nat \ |
28 | transport \ | 27 | transport \ |
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h index f499cb827..a5c548146 100644 --- a/src/include/gnunet_datastore_plugin.h +++ b/src/include/gnunet_datastore_plugin.h | |||
@@ -325,9 +325,9 @@ struct GNUNET_DATASTORE_PluginFunctions | |||
325 | /** | 325 | /** |
326 | * Function to get a random item with high replication score from | 326 | * Function to get a random item with high replication score from |
327 | * the database, lowering the item's replication score. Returns a | 327 | * the database, lowering the item's replication score. Returns a |
328 | * single, not expired, random item from those with the highest | 328 | * single random item from those with the highest replication |
329 | * replication counters. The item's replication counter is | 329 | * counters. The item's replication counter is decremented by one |
330 | * decremented by one IF it was positive before. | 330 | * IF it was positive before. |
331 | */ | 331 | */ |
332 | PluginRandomGet replication_get; | 332 | PluginRandomGet replication_get; |
333 | 333 | ||
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h index e18d4ef12..53d04e517 100644 --- a/src/include/gnunet_datastore_service.h +++ b/src/include/gnunet_datastore_service.h | |||
@@ -52,6 +52,10 @@ struct GNUNET_DATASTORE_QueueEntry; | |||
52 | */ | 52 | */ |
53 | struct GNUNET_DATASTORE_Handle; | 53 | struct GNUNET_DATASTORE_Handle; |
54 | 54 | ||
55 | /** | ||
56 | * Maximum size of a value that can be stored in the datastore. | ||
57 | */ | ||
58 | #define GNUNET_DATASTORE_MAX_VALUE_SIZE 65536 | ||
55 | 59 | ||
56 | /** | 60 | /** |
57 | * Connect to the datastore service. | 61 | * Connect to the datastore service. |