View Issue Details

IDProjectCategoryView StatusLast Update
0006956Talerexchangepublic2024-01-12 13:05
ReporterChristian Grothoff 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
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006956: trigger long pollers via Postgres DB API to properly support multiple frontends
DescriptionWe should use

https://www.postgresql.org/docs/current/libpq-notify.html

and

https://www.postgresql.org/docs/9.4/sql-notify.html

to trigger long pollers. This will also finally enable long-polling for the reserve status changes caused out-of-process by taler-exchange-wirewatch. This bug ALSO then applies to the merchant backend (and even Anastasis!).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-07-24 20:09

manager   ~0018015

A first draft API (incomplete implementation: scheduler missing) and without tests has landed in libgnunetpq!

Christian Grothoff

2021-07-24 20:18

manager   ~0018016

Note: documentation stresses: first install listener, THEN once transactionally query database state you care about, and only AFTER that you will get good notifications.

Christian Grothoff

2021-07-25 17:55

manager   ~0018018

API completed in GNUnet and tested. Needs to be integrated with exchange and merchant.

Christian Grothoff

2021-08-23 21:39

manager   ~0018123

exchange long pollers for reserves, keys and wire are in place as of efbe0441..888895cb. That should be all in the exchange.

Christian Grothoff

2021-08-25 15:27

manager   ~0018133

Implementation complete as of 5672080..696278c

Christian Grothoff

2021-09-02 16:14

manager   ~0018217

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2021-07-23 17:23Christian GrothoffNew Issue
2021-07-23 17:23Christian GrothoffStatusnew => implementing
2021-07-23 19:40Christian GrothoffAssigned To => Christian Grothoff
2021-07-23 19:40Christian GrothoffStatusimplementing => assigned
2021-07-24 20:09Christian GrothoffNote Added: 0018015
2021-07-24 20:18Christian GrothoffNote Added: 0018016
2021-07-25 17:55Christian GrothoffNote Added: 0018018
2021-07-30 12:31Christian GrothoffTarget Version => 0.9
2021-08-23 21:39Christian GrothoffNote Added: 0018123
2021-08-24 16:29Christian GrothoffTarget Version0.9 => 0.8.5
2021-08-25 15:27Christian GrothoffNote Added: 0018133
2021-08-25 15:27Christian GrothoffStatusassigned => informing
2021-08-25 15:27Christian GrothoffResolutionopen => fixed
2021-08-25 15:27Christian GrothoffFixed in Version => 0.8.5
2021-09-02 16:13Christian Grothoff
2021-09-02 16:14Christian GrothoffNote Added: 0018217
2022-10-20 08:45Christian GrothoffFixed in Version0.8.5 => 0.9
2022-10-20 08:45Christian GrothoffTarget Version0.8.5 => 0.9
2022-11-04 19:52Christian GrothoffStatusinforming => closed
2024-01-12 13:05Christian GrothoffCategoryexchange Postgres DB backend => exchange