Update riak client to the latest .proto definition #9

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants
@tsuraan

tsuraan commented Sep 2, 2011

The latest protocol for riak includes a repeated "indexes" field in the get response, which causes the Haskell protocol buffers to throw errors about unknown field types. I think this is a bug in hprotoc, since unknown optional and repeated fields should be skippable, but I went for just updating the client library instead.

This client is working on my machines against the latest riak git master, while the 0.6.0.1 client is getting protocol errors.

I haven't worked in the new indices stuff into the API, so I think this is still compatible with code using the 0.6.x series code, but the Content type has a new "indexes" field in it.

@bos

This comment has been minimized.

Show comment
Hide comment
@bos

bos Nov 8, 2011

Contributor

Thanks - I've rebased and applied this.

Contributor

bos commented Nov 8, 2011

Thanks - I've rebased and applied this.

@bos bos closed this Nov 8, 2011

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