Export to GitHub

spymemcached - issue #11

MemcachedClient.mutate method never returns


Posted on Mar 19, 2008 by Helpful Elephant

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();

}

Comment #1

Posted on Mar 19, 2008 by Helpful Elephant

Comment deleted

Comment #2

Posted on May 2, 2008 by Happy Ox

The fix for http://code.google.com/p/spymemcached/issues/detail?id=11 probably took care of this.

Comment #3

Posted on May 2, 2008 by Helpful Elephant

Oh, good point. Thanks. :)

Status: Fixed

Labels:
Type-Defect Priority-Medium