clojurewerkz / spyglass

A Clojure Memcached client (also: Couchbase, Kestrel). Built on top of SpyMemcached, supports ASCII and binary protocols, strives to be 100% feature complete.
http://clojurememcached.info
67 stars 17 forks source link

Documentation and "Touch is not supported for ASCII protocol" #16

Open mdaley opened 9 years ago

mdaley commented 9 years ago

Hi,

In the documentation at http://clojurememcached.info/articles/getting_started.html it talks about using the touch function with a text-connection. However, when I do this I get the exception "Touch is not supported for ASCII protocol" from the underlying spymemcached Java library. Is the documentation wrong in this case? I've tried this with the latest spyglass 1.1.0 and also with the latest spymemcached 2.12.0.

michaelklishin commented 9 years ago

I haven't been following SpyMemcached and we had switch away from using the most recent version because it had obscure authentication bugs but I suspect there may be limitations.

mdaley commented 9 years ago

Thanks for the reply. I found this problem with the version of spymemcached that is referenced by the current version of spyglass and when swapping out that version of spymemcached to use the most up-to-date one. i.e. the problem exists in the current 1.1.0 version of spyglass. I'll try it with version 1.0.x as well when I get a spare moment.