View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004900 | GNUnet | datastore service | public | 2017-02-20 01:45 | 2017-02-20 01:45 |
Reporter | amatus | Assigned To | amatus | ||
Priority | low | Severity | minor | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | Git master | ||||
Summary | 0004900: async datastore plugins break assumption in manage_space() | ||||
Description | The datastore code was updated to allow plugins to call callbacks asynchronously, but apparently manage_space() was missed. It assumes that the quota_processor() callback will be called before get_expiration() returns. This is low priority because currently the emscripten plugin is the only one that is asynchronous, and it bypasses space quotas so manage_space() will never get called. The fix would be to schedule the next call to get_expiration() instead of doing it in a while loop. | ||||
Tags | No tags attached. | ||||