View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001986 | GNUnet | cadet service | public | 2011-12-06 15:35 | 2012-12-09 16:52 |
| Reporter | Christian Grothoff | Assigned To | Bart Polot | ||
| Priority | low | Severity | feature | Reproducibility | random |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.9.0 | ||||
| Target Version | 0.9.3 | Fixed in Version | 0.9.3 | ||
| Summary | 0001986: mesh API is not robust enough against service / connection failures | ||||
| Description | LRN reported issues with mesh whenever the first connection between the mesh API and the service failed (due to 0001975). Naturally, for proper robustness, the mesh API should fully tolerate mesh service crashes / connection failures and simply "keep going" (reconnect, reinitialize state, etc.). I don't have details on the issue (IRC logs of 11'2011 might give some), but certainly it would be nice to have some testcase that includes simulating connection failures. | ||||
| Additional Information | My best idea for testing this is doing it system-wide: we should have an (optional!) fail-sometimes mode that we insert into libgnunetutil.so. If the respective option is enabled, client/server connections should be 'randomly' shut down (by literally doing a 'shutdown(RW)' call on the socket "just for fun"). If all tests still reliably pass in that test mode (for different failure frequencies), the service APIs should be reasonably robust. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-12-06 15:35 | Christian Grothoff | New Issue | |
| 2011-12-06 15:35 | Christian Grothoff | Status | new => assigned |
| 2011-12-06 15:35 | Christian Grothoff | Assigned To | => Bart Polot |
| 2011-12-23 11:01 | Christian Grothoff | Target Version | 0.9.1 => 0.9.2 |
| 2012-02-23 14:31 | Christian Grothoff | Target Version | 0.9.2 => 0.9.3 |
| 2012-02-24 15:51 | Bart Polot | Severity | crash => feature |
| 2012-02-24 15:52 | Bart Polot | Note Added: 0005502 | |
| 2012-02-24 15:52 | Bart Polot | Category | mesh service => testing library |
| 2012-02-24 15:52 | Bart Polot | Target Version | 0.9.3 => |
| 2012-05-03 01:23 | Christian Grothoff | Priority | normal => low |
| 2012-09-27 20:31 | Christian Grothoff | Category | testing library => mesh service |
| 2012-11-06 23:36 | Christian Grothoff | Target Version | => 0.9.5 |
| 2012-12-09 16:52 | Christian Grothoff | Status | assigned => resolved |
| 2012-12-09 16:52 | Christian Grothoff | Fixed in Version | => 0.9.3 |
| 2012-12-09 16:52 | Christian Grothoff | Resolution | open => fixed |
| 2012-12-09 16:52 | Christian Grothoff | Status | resolved => closed |
| 2012-12-09 16:52 | Christian Grothoff | Target Version | 0.9.5 => 0.9.3 |
| 2014-05-09 18:34 | Christian Grothoff | Category | mesh service => cadet service |