[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/02: wirewatch: no need to do rollback o
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/02: wirewatch: no need to do rollback on hard/soft error |
Date: |
Mon, 05 Feb 2018 17:22:15 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
commit f8d7c1ef39df615c56417c3a98303cc46e7fd919
Author: Florian Dold <address@hidden>
AuthorDate: Mon Feb 5 17:22:07 2018 +0100
wirewatch: no need to do rollback on hard/soft error
---
src/exchange/taler-exchange-wirewatch.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/exchange/taler-exchange-wirewatch.c
b/src/exchange/taler-exchange-wirewatch.c
index 652b346..f28c800 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -392,15 +392,13 @@ history_cb (void *cls,
if (GNUNET_DB_STATUS_HARD_ERROR == qs)
{
GNUNET_break (0);
- db_plugin->rollback (db_plugin->cls,
- session);
GNUNET_SCHEDULER_shutdown ();
return GNUNET_SYSERR;
}
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)
{
- db_plugin->rollback (db_plugin->cls,
- session);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Got DB soft error for reserve_in_insert\n");
/* try again */
task = GNUNET_SCHEDULER_add_now (&find_transfers,
NULL);
@@ -469,8 +467,6 @@ find_transfers (void *cls)
if (GNUNET_DB_STATUS_SOFT_ERROR == qs)
{
/* try again */
- db_plugin->rollback (db_plugin->cls,
- session);
task = GNUNET_SCHEDULER_add_now (&find_transfers,
NULL);
return;
--
To stop receiving notification emails like this one, please contact
address@hidden