View Issue Details

IDProjectCategoryView StatusLast Update
0008040Talerexchangepublic2024-03-07 20:47
ReporterFlorian Dold Assigned ToChristian Grothoff  
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008040: taler-exchange-expire hangs when called with -t flag
DescriptionThe -t flag should cause taler-exchange-expire to only run once and then exit. Instead, it hangs indefinitely.

$ taler-exchange-expire -c '/tmp/taler-integrationtests-FEJLNA/peer-to-peer-push/exchange-testexchange-1.conf' -t -LDEBUG
2024-01-08T18:07:03.364556+0100 taler-exchange-expire-983451 INFO Change in PQ event FD to -1
2024-01-08T18:07:03.364598+0100 taler-exchange-expire-983451 INFO New poll FD is -1
2024-01-08T18:07:03.366964+0100 taler-exchange-expire-983451 INFO Change in PQ event FD to 5
2024-01-08T18:07:03.366986+0100 taler-exchange-expire-983451 INFO New poll FD is 5
2024-01-08T18:07:03.367020+0100 taler-exchange-expire-983451 INFO Starting transaction `begin_shard'
2024-01-08T18:07:03.372352+0100 taler-exchange-expire-983451 INFO Claimed new shard
[... nothing happens ...]
TagsNo tags attached.


Christian Grothoff

2024-01-08 19:25

manager   ~0020832

Hmm. Does not ALWAYS happen:
$ taler-exchange-expire -t -c test_exchange_api-cs.conf -L INFO
2024-01-08T19:24:29.297410+0100 taler-exchange-expire-65099 INFO Change in PQ event FD to -1
2024-01-08T19:24:29.297475+0100 taler-exchange-expire-65099 INFO New poll FD is -1
2024-01-08T19:24:29.302395+0100 taler-exchange-expire-65099 INFO Change in PQ event FD to 5
2024-01-08T19:24:29.302431+0100 taler-exchange-expire-65099 INFO New poll FD is 5
2024-01-08T19:24:29.302518+0100 taler-exchange-expire-65099 INFO Starting transaction `begin_shard'
2024-01-08T19:24:29.304118+0100 taler-exchange-expire-65099 INFO Trying to claim shard (1704738248127728-1704738248427728]
2024-01-08T19:24:29.311274+0100 taler-exchange-expire-65099 INFO Claimed new shard
2024-01-08T19:24:29.311299+0100 taler-exchange-expire-65099 INFO Starting shard [1704738248127728:1704738248427728)!
2024-01-08T19:24:29.311316+0100 taler-exchange-expire-65099 INFO Checking for expired purses
2024-01-08T19:24:29.311327+0100 taler-exchange-expire-65099 INFO Starting transaction `expire-purse'
2024-01-08T19:24:29.313651+0100 taler-exchange-expire-65099 INFO Completing shard 1704738248127728-1704738248427728
2024-01-08T19:24:29.315124+0100 taler-exchange-expire-65099 INFO Purse expiration shard completed with 0 purses
2024-01-08T19:24:29.315153+0100 taler-exchange-expire-65099 INFO Running shutdown

Christian Grothoff

2024-01-08 19:43

manager   ~0020834


Christian Grothoff

2024-01-08 19:48

manager   ~0020835

Did not terminate if there was work in the future to be done (vs. no work at all). Fixed in 6cf5be64..342f1192.

Issue History

Date Modified Username Field Change
2024-01-08 18:08 Florian Dold New Issue
2024-01-08 18:08 Florian Dold Status new => assigned
2024-01-08 18:08 Florian Dold Assigned To => Christian Grothoff
2024-01-08 19:25 Christian Grothoff Note Added: 0020832
2024-01-08 19:43 Christian Grothoff Note Added: 0020834
2024-01-08 19:48 Christian Grothoff Status assigned => resolved
2024-01-08 19:48 Christian Grothoff Resolution open => fixed
2024-01-08 19:48 Christian Grothoff Fixed in Version => 0.9.4
2024-01-08 19:48 Christian Grothoff Note Added: 0020835
2024-03-07 20:47 Christian Grothoff Status resolved => closed