View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008030 | Taler | exchange | public | 2024-01-02 21:10 | 2024-03-07 20:47 |
Reporter | sebasjm | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0008030: define a list of error exist status that should not restart the service | ||||
Description | to use on systemd service definition, see https://www.commandlinux.com/man-page/man5/systemd.service.5.html one code or set of codes that means fail but "safe to restart" (SuccessExitStatus) one code or set of codes that means fail but "do not dare to restart" (RestartPreventExitStatus) one code or set of codes that means fail but "off course you should restart" (RestartForceExitStatus) hopefully, this error code will be implemented by all exchange merchant and bank services | ||||
Tags | No tags attached. | ||||
related to | 0008031 | closed | Christian Grothoff | have a run-and-exit flag in CLI for wirewatch, transfer, aggregator, closer and expire services |
|
When we do this, we should *also* cause taler-exchange-{wirewatch, transfer, closer, aggregator, router, expire} to self-terminate after handling a certain number of DB requests. |
|
#define EXIT_NO_RESTART 9 added as the exit code to use when the process should NOT be restarted. |
|
Modified all *.service files to include "RestartPreventExitStatus=9". |
|
eddf1b2..964365e starts using RestartMode=direct RestartPreventExitStatus=2 3 4 5 6 9 in merchant, plus consistent update to all the services to use the new exit codes correctly. |
|
Went through all exchange, merchant, sync and challenger services, should all be fine now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-02 21:10 | sebasjm | New Issue | |
2024-01-02 21:10 | sebasjm | Status | new => assigned |
2024-01-02 21:10 | sebasjm | Assigned To | => Christian Grothoff |
2024-01-02 21:14 | sebasjm | Relationship added | related to 0008031 |
2024-01-02 23:48 | Christian Grothoff | Severity | minor => tweak |
2024-01-02 23:52 | Christian Grothoff | Note Added: 0020818 | |
2024-01-08 16:32 | Christian Grothoff | Note Added: 0020829 | |
2024-01-08 16:36 | Christian Grothoff | Note Added: 0020830 | |
2024-01-28 18:56 | Christian Grothoff | Note Added: 0021062 | |
2024-01-28 19:42 | Christian Grothoff | Status | assigned => resolved |
2024-01-28 19:42 | Christian Grothoff | Resolution | open => fixed |
2024-01-28 19:42 | Christian Grothoff | Fixed in Version | => 0.9.4 |
2024-01-28 19:42 | Christian Grothoff | Note Added: 0021063 | |
2024-01-28 19:43 | Christian Grothoff | Target Version | 0.10 => 0.9.4 |
2024-03-07 20:47 | Christian Grothoff | Status | resolved => closed |