Merge pull request #685 from HeartSaVioR/master

Fixed critical JedisCluster bug : hlen calls hdel
This commit is contained in:
Jungtaek Lim
2014-08-04 09:40:20 +09:00

View File

@@ -394,7 +394,7 @@ public class JedisCluster implements JedisCommands, BasicCommands {
maxRedirections) {
@Override
public Long execute(Jedis connection) {
return connection.hdel(key);
return connection.hlen(key);
}
}.run(key);
}