View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005733 | Taler | mechant backend | public | 2019-05-24 19:50 | 2021-09-02 18:23 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | urgent | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.6 | Fixed in Version | 0.6 | ||
Summary | 0005733: merchant does not recover from restarted postgres | ||||
Description | If you restart the database while the merchant is running, the merchant does not seem to recover from it. Additionally, there are a *lot* of subsequent log lines where the merchant is presumably trying to get keys from the exchange. Maybe this has to do with some retry logic that is going haywire? | ||||
Tags | No tags attached. | ||||
|
Of course, a taler-deployment-restart "fixes" this, but the merchant backend must be able to recover from this on its own. |
|
How exactly the merchant crashes? Do you have any logs? How can I reproduce this? |
|
I will try to look into this. |
|
I've started work on a larger patch to address this. Uncommittable so far. |
|
Fixed with recent GNUNET_PQ API change. Basically, after DB reconnect, the current (or next) transaction fails (with a SOFT error), but then things should be back in order (GNUNET_PQ auto-reconnects). |
|
Fix committed to master branch. |
merchant: master 37bd6899 2019-10-12 01:35 Details Diff |
fix 0005733 by migrating to new GNUnet PQ API |
Affected Issues 0005733 |
|
mod - src/backend/taler-merchant-httpd.c | Diff File | ||
mod - src/backenddb/plugin_merchantdb_postgres.c | Diff File | ||
mod - src/backenddb/test_merchantdb.c | Diff File | ||
mod - src/include/taler_merchantdb_plugin.h | Diff File | ||
mod - src/merchant-tools/taler-merchant-dbinit.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-05-24 19:50 | Florian Dold | New Issue | |
2019-05-24 19:50 | Florian Dold | Status | new => assigned |
2019-05-24 19:50 | Florian Dold | Assigned To | => Marcello Stanisci |
2019-05-24 19:52 | Florian Dold | Note Added: 0014438 | |
2019-05-27 19:25 | Marcello Stanisci | Note Added: 0014451 | |
2019-09-16 09:47 | Christian Grothoff | Severity | minor => crash |
2019-09-16 09:47 | Christian Grothoff | Product Version | => git (master) |
2019-09-16 09:47 | Christian Grothoff | Target Version | => 0.6 |
2019-09-16 09:47 | Christian Grothoff | Note Added: 0014904 | |
2019-09-16 09:47 | Christian Grothoff | Assigned To | Marcello Stanisci => Christian Grothoff |
2019-10-10 20:01 | Christian Grothoff | Priority | normal => urgent |
2019-10-11 14:37 | Christian Grothoff | Note Added: 0014997 | |
2019-10-11 23:52 | Christian Grothoff | Status | assigned => resolved |
2019-10-11 23:52 | Christian Grothoff | Resolution | open => fixed |
2019-10-11 23:52 | Christian Grothoff | Fixed in Version | => 0.6 |
2019-10-11 23:52 | Christian Grothoff | Note Added: 0015005 | |
2019-12-20 19:11 | Christian Grothoff | Status | resolved => closed |
2021-09-02 18:22 | Christian Grothoff | Changeset attached | => Taler-merchant master 37bd6899 |
2021-09-02 18:23 | Christian Grothoff | Note Added: 0018385 |