diff --git a/src/main/java/redis/clients/jedis/JedisClusterCommand.java b/src/main/java/redis/clients/jedis/JedisClusterCommand.java index e7f51bbe82..ca31caeba1 100644 --- a/src/main/java/redis/clients/jedis/JedisClusterCommand.java +++ b/src/main/java/redis/clients/jedis/JedisClusterCommand.java @@ -130,8 +130,6 @@ private Supplier handleRedirection(Jedis connection, final JedisRedirecti this.connectionHandler.renewSlotCache(connection); } - // release current connection before iteration - releaseConnection(connection); return () -> { Jedis redirectedConnection = connectionHandler.getConnectionFromNode(jre.getTargetNode());