Fixed critical JedisCluster bug : hlen calls hdel
This commit is contained in:
@@ -394,7 +394,7 @@ public class JedisCluster implements JedisCommands, BasicCommands {
|
|||||||
maxRedirections) {
|
maxRedirections) {
|
||||||
@Override
|
@Override
|
||||||
public Long execute(Jedis connection) {
|
public Long execute(Jedis connection) {
|
||||||
return connection.hdel(key);
|
return connection.hlen(key);
|
||||||
}
|
}
|
||||||
}.run(key);
|
}.run(key);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user