[datastore] Return and update replication
authorDavid Barksdale <amatus@amat.us>
Thu, 23 Mar 2017 03:17:05 +0000 (22:17 -0500)
committerDavid Barksdale <amatus@amat.us>
Thu, 23 Mar 2017 03:19:13 +0000 (22:19 -0500)
commit78ecfccd774a77ae3d7a51e3f5c7c7c86cf7985b
tree1dc23a2f6d78c8026e69181ac90055929d79bba8
parentaa98f144e6db0da5a0a4cad83fe64a80bbab6692
[datastore] Return and update replication

This fixes a couple FIXMEs in the datastore code. The replication value
is now returned from the datastore and the update function can increase
the replication.
20 files changed:
src/datastore/datastore.h
src/datastore/datastore_api.c
src/datastore/gnunet-datastore.c
src/datastore/gnunet-service-datastore.c
src/datastore/plugin_datastore_heap.c
src/datastore/plugin_datastore_mysql.c
src/datastore/plugin_datastore_postgres.c
src/datastore/plugin_datastore_sqlite.c
src/datastore/plugin_datastore_template.c
src/datastore/test_datastore_api.c
src/datastore/test_datastore_api_management.c
src/datastore/test_plugin_datastore.c
src/fs/gnunet-service-fs_cadet_server.c
src/fs/gnunet-service-fs_indexing.c
src/fs/gnunet-service-fs_indexing.h
src/fs/gnunet-service-fs_pr.c
src/fs/gnunet-service-fs_push.c
src/fs/gnunet-service-fs_put.c
src/include/gnunet_datastore_plugin.h
src/include/gnunet_datastore_service.h