z3635363 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

MemcachedClient.mutate method never returns #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There's a problem in exceptional cases wherein an incr can get stuck.  This
may be demonstrated by the following code:

public static void main(String[] args) throws Exception {

    MemcachedClient cache = new
MemcachedClient(AddrUtil.getAddresses("localhost:11211"));

    for (int i=0; i < 1000; i++) {
        cache.incr("test", 1, 1);
        Thread.sleep(100);
    }

    cache.shutdown();
}

Original issue reported on code.google.com by dsalli...@gmail.com on 19 Mar 2008 at 4:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The fix for http://code.google.com/p/spymemcached/issues/detail?id=11 probably 
took
care of this.

Original comment by raykrue...@gmail.com on 2 May 2008 at 9:04

GoogleCodeExporter commented 8 years ago
Oh, good point.  Thanks.  :)

Original comment by dsalli...@gmail.com on 2 May 2008 at 9:11