Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update request: enhance with auto-Put behaviour #211

Open
gavin-norman-sociomantic opened this issue Jun 4, 2019 · 0 comments
Open

Update request: enhance with auto-Put behaviour #211

gavin-norman-sociomantic opened this issue Jun 4, 2019 · 0 comments

Comments

@gavin-norman-sociomantic

Currently, if an Update request reports that a record is not present in the DHT, the request ends. The application is expected to do a Put request to add the record.

This is a source of conflicts, however, as two clients could be trying to update the same record at the same time, and one could overwrite the other's Put.

The Update request should be enhanced to also handle the case of a missing record, allowing the application to specify the initial value to write to the DHT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant