binary touch delays for poll_timeout before returning

Bug #1589344 reported by Jin Choi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
New
Undecided
Unassigned

Bug Description

Using libmemcached 1.0.16 against a memcached 1.4.24 server, a memcached_touch() called using the binary protocol delays for MEMCACHED_BEHAVIOR_POLL_TIMEOUT milliseconds before returning. This is easily exhibited by using the utility executable memtouch:

memtouch --binary somekey 60

where "somekey" exists. Without the --binary flag, it returns instantly; with it, it takes 5 seconds.

Also, contrary to the documentation which claims the default for MEMCACHED_BEHAVIOR_POLL_TIMEOUT is -1, it is actually 5000 (set in defaults.h as MEMCACHED_DEFAULT_TIMEOUT).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.