yyuu/jetty-nosql-memcached — Issue #7: common config syntax for spy and xmemcached
Author: yyuu
Created: 2012-02-19 08:31:04+00:00
State: open

The problem is that the hostnames are not splitted by comma like in the default config, but by spaces.
So the XMemcachedClient threats host1:11211,host2:11211 as one hostname.
(See javadoc of xmemcached's AddrUtil.getAddresses for details)

My hotfix was:

public XMemcachedClient(String serverString) {
super(StringUtil.replace(serverString, ",", " "));
this._transcoder = new NullTranscoder();
}