aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-05 17:22:07 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-05 17:22:07 +0100
commitf8d7c1ef39df615c56417c3a98303cc46e7fd919 (patch)
tree747f9b7aec1bfccc2e64ce39771a5d5501abd027 /src
parentb6b7a36737579b44f243b24f903539cf9967f454 (diff)
wirewatch: no need to do rollback on hard/soft error
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index 652b34645..f28c80073 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;