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

riak-crdt-part-1-messages-with-location-index #1

Open
duergner opened this Issue Aug 9, 2014 · 2 comments

Comments

2 participants
@duergner
Owner

duergner commented Aug 9, 2014

This issue is for the blog post http://michael.duergner.com/riak-crdt-part-1-messages-with-location-index/ - leave a comment here and it will show up in the comments section on that post.

@russelldb

This comment has been minimized.

Show comment
Hide comment
@russelldb

russelldb Aug 9, 2014

As Riak will only allow remove SetUpdate calls when a Context is supplied, we need to call a FetchSet before to obtain the Context.

Nitpick, but it the client that mandates the context for remove, Riak does not. The client authors elected to require a context for removes for correctness/simplicity. If you use the HTTP/PB API directly you can remove without a context (with all the risks that entails.)

russelldb commented Aug 9, 2014

As Riak will only allow remove SetUpdate calls when a Context is supplied, we need to call a FetchSet before to obtain the Context.

Nitpick, but it the client that mandates the context for remove, Riak does not. The client authors elected to require a context for removes for correctness/simplicity. If you use the HTTP/PB API directly you can remove without a context (with all the risks that entails.)

@duergner

This comment has been minimized.

Show comment
Hide comment
@duergner

duergner Aug 9, 2014

Owner

@russelldb thanks for the clarification - I just fixed this in the post.

Owner

duergner commented Aug 9, 2014

@russelldb thanks for the clarification - I just fixed this in the post.

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