JedisClusterHashCommands.hStrLen()
should calls hstren
on JedisCluster
object
#2392
Labels
Milestone
The
JedisClusterHashCommands.hStrLen()
method does not use thegetCluster()
method to allow the command to be executed correctly in Cluster mode:For comparison, all other methods in the class use
connection.getCluster()
e.g.:This can lead to exceptions in the client if servers are shutdown during execution of the command, instead of retying on a different server as is expected.
This bug appears to have been introduced with this commit and is still present in the latest unreleased version.
The text was updated successfully, but these errors were encountered: