[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15695 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15695 - gnunet/src/datastore |
Date: |
Fri, 17 Jun 2011 15:31:10 +0200 |
Author: grothoff
Date: 2011-06-17 15:31:10 +0200 (Fri, 17 Jun 2011)
New Revision: 15695
Modified:
gnunet/src/datastore/datastore_api.c
Log:
debugs
Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c 2011-06-17 13:26:19 UTC (rev
15694)
+++ gnunet/src/datastore/datastore_api.c 2011-06-17 13:31:10 UTC (rev
15695)
@@ -315,6 +315,10 @@
{
struct GNUNET_DATASTORE_QueueEntry *qe;
+#if DEBUG_DATASTORE
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Datastore disconnect\n");
+#endif
if (NULL != h->th)
{
GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
@@ -378,6 +382,10 @@
GNUNET_NO);
qe->task = GNUNET_SCHEDULER_NO_TASK;
GNUNET_assert (qe->was_transmitted == GNUNET_NO);
+#if DEBUG_DATASTORE
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Timeout of request in datastore queue\n");
+#endif
qe->response_proc (qe->h, NULL);
}
@@ -471,6 +479,10 @@
GNUNET_assert (pos->response_proc != NULL);
/* move 'pos' element to head so that it will be
killed on 'NULL' call below */
+#if DEBUG_DATASTORE
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Dropping request from datastore queue\n");
+#endif
GNUNET_CONTAINER_DLL_remove (h->queue_head,
h->queue_tail,
pos);
@@ -586,6 +598,10 @@
struct GNUNET_DATASTORE_QueueEntry *qe;
h->in_receive = GNUNET_NO;
+#if DEBUG_DATASTORE
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Receiving reply from datastore\n");
+#endif
if (h->skip_next_messages > 0)
{
h->skip_next_messages--;
@@ -987,7 +1003,7 @@
cont = &drop_status_cont;
#if DEBUG_DATASTORE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Asked to reserve %llu bytes of data and %u entries'\n",
+ "Asked to reserve %llu bytes of data and %u entries\n",
(unsigned long long) amount,
(unsigned int) entries);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15695 - gnunet/src/datastore,
gnunet <=