View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004793 | Taler | exchange | public | 2016-11-17 11:50 | 2016-11-20 03:26 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 0.2 | Fixed in Version | 0.2 | ||
Summary | 0004793: /refresh/reveal lacks idempotency check | ||||
Description | if /refresh/reveal is run a second time, and the first time did succeed in putting data into the database, the 2nd insert fails, causing this: Nov 17 10:48:24-540357 taler-exchange-httpd-28254 DEBUG Executing prepared SQL statement `insert_refresh_out' Nov 17 10:48:24-540670 taler-exchange-httpd-28254 ERROR Assertion failed at plugin_exchangedb_postgres.c:3427. Nov 17 10:48:24-540710 taler-exchange-httpd-28254 ERROR Database failure: ERROR: duplicate key value violates unique constraint "refresh_out_session_hash_newcoin_index_key" DETAIL: Key (session_hash, newcoin_index)=(\x9d642b4056191abc7fca40da50793e4272b740aeb5e8b907478d76e1565d19bcdcfd591a3f4d52024565a94a4582a6009cbe730f57635dba3e358560fd1ee4c9, 0) already exists. (PGRES_FATAL_ERROR) Nov 17 10:48:24-540726 taler-exchange-httpd-28254 ERROR Assertion failed at taler-exchange-httpd_db.c:1262. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-17 11:50 | Christian Grothoff | New Issue | |
2016-11-17 11:50 | Christian Grothoff | Status | new => assigned |
2016-11-17 11:50 | Christian Grothoff | Assigned To | => Christian Grothoff |
2016-11-17 11:52 | Christian Grothoff | Priority | normal => urgent |
2016-11-17 16:38 | Christian Grothoff | Status | assigned => resolved |
2016-11-17 16:38 | Christian Grothoff | Resolution | open => fixed |
2016-11-17 16:38 | Christian Grothoff | Fixed in Version | => 0.2 |
2016-11-17 16:38 | Christian Grothoff | Note Added: 0011517 | |
2016-11-20 03:26 | Christian Grothoff | Status | resolved => closed |