Skip to content

Add support for GETS #12

merged 1 commit into from Aug 25, 2012

2 participants

cjc commented Aug 25, 2012

Small change to add support for the "gets" alias of "get" commands, with test.

Equivalent to the change that went into kestrel recently (twitter-archive/kestrel@d1c93cb)


Thanks for submitting this!

gets isn't an alias for get exactly. It's supposed to also return a CAS value that you can use for synchronization. I'd have expected a memcache client that issued gets to error if the response doesn't have a CAS value.

On the other hand, you're absolutely right that Kestrel is doing this, and I don't see any complaints there. I'll go ahead and merge this change, but I may remove it in the future if it's causing problems.

@erikfrey erikfrey merged commit 38b15e4 into wavii:master Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.