View Issue Details

IDProjectCategoryView StatusLast Update
0002277GNUnetDHT servicepublic2012-06-02 19:15
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002277: DHT PUT continuation should only be called after confirmation from service
DescriptionAfter recent (SVN 21019) changes (in conjunction with fixing 0002274) the lack of a confirmation for a DHT PUT from the DHT service is problematic. Already before, a client could never be sure that a PUT was actually received by the service. Thus we should change the IPC protocol to force the DHT service to send a confirmation and to wait in the DHT API for that confirmation (or timeout). This change should have no impact on the outside API (we might want to change the signature of the continuation to better report the result of the operation, but that's almost orthogonal).
Steps To ReproduceThe command-line tool 'gnunet-dht-put' might now terminate before actually sending the PUT to the service. This 'error' is likely non-deterministic (I have not tried this, but as the 'finish write on disconnect' is gone, this should be an implication of the current design). Real-world usage should not be directly aversely affected (as they keep the client-service connection open longer).
TagsNo tags attached.

Relationships

related to 0002260 closedChristian Grothoff Disconnect in DHT put continuation is dangerous 

Activities

Christian Grothoff

2012-04-26 18:57

manager   ~0005750

Fixed in SVN 21178. Note that this changes the DHT protocol (added a new field "unique_id" in DHT PUT message, added new "PUT Confirmation" reply).

Issue History

Date Modified Username Field Change
2012-04-19 10:53 Christian Grothoff New Issue
2012-04-19 10:53 Christian Grothoff Status new => assigned
2012-04-19 10:53 Christian Grothoff Assigned To => Christian Grothoff
2012-04-23 17:59 Christian Grothoff Relationship added has duplicate 0002260
2012-04-23 17:59 Christian Grothoff Relationship deleted has duplicate 0002260
2012-04-23 17:59 Christian Grothoff Relationship added related to 0002260
2012-04-26 18:56 Christian Grothoff Target Version 0.9.4 => 0.9.3
2012-04-26 18:57 Christian Grothoff Note Added: 0005750
2012-04-26 18:57 Christian Grothoff Status assigned => resolved
2012-04-26 18:57 Christian Grothoff Fixed in Version => 0.9.3
2012-04-26 18:57 Christian Grothoff Resolution open => fixed
2012-06-02 19:15 Christian Grothoff Status resolved => closed