View Issue Details

IDProjectCategoryView StatusLast Update
0005733Talermerchant backendpublic2021-09-02 16:23
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PriorityurgentSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005733: merchant does not recover from restarted postgres
DescriptionIf 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?
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2019-05-24 17:52

manager   ~0014438

Of course, a taler-deployment-restart "fixes" this, but the merchant backend must be able to recover from this on its own.

Marcello Stanisci

2019-05-27 17:25

reporter   ~0014451

How exactly the merchant crashes?

Do you have any logs?

How can I reproduce this?

Christian Grothoff

2019-09-16 07:47

manager   ~0014904

I will try to look into this.

Christian Grothoff

2019-10-11 12:37

manager   ~0014997

I've started work on a larger patch to address this. Uncommittable so far.

Christian Grothoff

2019-10-11 21:52

manager   ~0015005

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).

Christian Grothoff

2021-09-02 16:23

manager   ~0018385

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2019-05-24 17:50Florian DoldNew Issue
2019-05-24 17:50Florian DoldStatusnew => assigned
2019-05-24 17:50Florian DoldAssigned To => Marcello Stanisci
2019-05-24 17:52Florian DoldNote Added: 0014438
2019-05-27 17:25Marcello StanisciNote Added: 0014451
2019-09-16 07:47Christian GrothoffSeverityminor => crash
2019-09-16 07:47Christian GrothoffProduct Version => git (master)
2019-09-16 07:47Christian GrothoffTarget Version => 0.6
2019-09-16 07:47Christian GrothoffNote Added: 0014904
2019-09-16 07:47Christian GrothoffAssigned ToMarcello Stanisci => Christian Grothoff
2019-10-10 18:01Christian GrothoffPrioritynormal => urgent
2019-10-11 12:37Christian GrothoffNote Added: 0014997
2019-10-11 21:52Christian GrothoffStatusassigned => informing
2019-10-11 21:52Christian GrothoffResolutionopen => fixed
2019-10-11 21:52Christian GrothoffFixed in Version => 0.6
2019-10-11 21:52Christian GrothoffNote Added: 0015005
2019-12-20 18:11Christian GrothoffStatusinforming => closed
2021-09-02 16:22Christian Grothoff
2021-09-02 16:23Christian GrothoffNote Added: 0018385
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend