fix consistent hashing, both MD5 and Murmur,
This commit is contained in:
@@ -19,10 +19,8 @@ import redis.clients.util.ShardInfo;
|
||||
import redis.clients.util.Sharded;
|
||||
|
||||
public class JedisShardInfo extends ShardInfo<Jedis> {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "JedisShardInfo [host=" + host + ", port=" + port + ", weight="
|
||||
+ getWeight() + "]";
|
||||
return host + ":" + port + "*" + getWeight();
|
||||
}
|
||||
|
||||
private int timeout;
|
||||
|
||||
Reference in New Issue
Block a user