basho-labs / riak-c-client

Riak C Client
Apache License 2.0
20 stars 8 forks source link

Fix Issue #15: Cache bucket/key in riak_operation #24

Closed hazen closed 10 years ago

hazen commented 10 years ago

Since these fields are not returned in the request, the only way to return them in the riak_object is to cache them in the GET request.

hazen commented 10 years ago

Maybe I should have pull develop? Not sure the best way to get all of the pending changes we already merged. Guess I could try that, too.

bookshelfdave commented 10 years ago

Are there other things we'll eventually need to cache in the operation? Or, could this be made more general to support other values?

hazen commented 10 years ago

Great question. On the other hand, bucket and key are pretty darned fundamental to Riak. I can pose the question to the client boys tomorrow to see what everyone else is caching.

hazen commented 10 years ago

@metadave Just asked in the Eng:Clients room and Java at least only caches the bucket and key FWIW

bookshelfdave commented 10 years ago

+1