[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: rollback transaction to end tran
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: rollback transaction to end transaction scope before releasing the shard (fixes #7216) |
Date: |
Sat, 02 Apr 2022 03:50:37 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 6c66f6f5 rollback transaction to end transaction scope before
releasing the shard (fixes #7216)
6c66f6f5 is described below
commit 6c66f6f5cffa6b33ecd41cfc0ed92ab76185bf06
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Apr 2 03:50:30 2022 +0200
rollback transaction to end transaction scope before releasing the shard
(fixes #7216)
---
src/exchange/taler-exchange-aggregator.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/exchange/taler-exchange-aggregator.c
b/src/exchange/taler-exchange-aggregator.c
index 04cf426d..5f185e24 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -453,6 +453,7 @@ run_aggregation (void *cls)
au_active.payto_uri);
global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
+ db_plugin->rollback (db_plugin->cls);
release_shard (s);
return;
}
@@ -477,6 +478,7 @@ run_aggregation (void *cls)
GNUNET_TIME_timestamp2s (au_active.execution_time));
global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
+ db_plugin->rollback (db_plugin->cls);
release_shard (s);
return;
}
@@ -707,6 +709,7 @@ run_aggregation (void *cls)
GNUNET_break (0);
global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
+ db_plugin->rollback (db_plugin->cls); /* just in case */
release_shard (s);
return;
case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
@@ -720,6 +723,7 @@ run_aggregation (void *cls)
GNUNET_break (0);
global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
+ db_plugin->rollback (db_plugin->cls); /* just in case */
release_shard (s);
return;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: rollback transaction to end transaction scope before releasing the shard (fixes #7216),
gnunet <=