View Issue Details

IDProjectCategoryView StatusLast Update
0002277GNUnetDHT servicepublic2012-06-02 17:15
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
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 16: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 ModifiedUsernameFieldChange
2012-04-19 08:53Christian GrothoffNew Issue
2012-04-19 08:53Christian GrothoffStatusnew => assigned
2012-04-19 08:53Christian GrothoffAssigned To => Christian Grothoff
2012-04-23 15:59Christian GrothoffRelationship addedhas duplicate 0002260
2012-04-23 15:59Christian GrothoffRelationship deletedhas duplicate 0002260
2012-04-23 15:59Christian GrothoffRelationship addedrelated to 0002260
2012-04-26 16:56Christian GrothoffTarget Version0.9.4 => 0.9.3
2012-04-26 16:57Christian GrothoffNote Added: 0005750
2012-04-26 16:57Christian GrothoffStatusassigned => resolved
2012-04-26 16:57Christian GrothoffFixed in Version => 0.9.3
2012-04-26 16:57Christian GrothoffResolutionopen => fixed
2012-06-02 17:15Christian GrothoffStatusresolved => closed