From 32e17bab586b7adf4ae8f64a251ea7bbbba2f71f Mon Sep 17 00:00:00 2001 From: dengliming Date: Mon, 13 Jul 2020 00:23:23 +0800 Subject: [PATCH] RedisAdvancedClusterAsyncCommands.scriptKill now calls scriptKill instead of scriptFlush #1341 Original pull request: #1340. --- .../core/cluster/RedisAdvancedClusterAsyncCommandsImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/lettuce/core/cluster/RedisAdvancedClusterAsyncCommandsImpl.java b/src/main/java/io/lettuce/core/cluster/RedisAdvancedClusterAsyncCommandsImpl.java index ca07e8b662..cd034ea52b 100644 --- a/src/main/java/io/lettuce/core/cluster/RedisAdvancedClusterAsyncCommandsImpl.java +++ b/src/main/java/io/lettuce/core/cluster/RedisAdvancedClusterAsyncCommandsImpl.java @@ -415,7 +415,7 @@ public RedisFuture scriptFlush() { @Override public RedisFuture scriptKill() { - Map> executions = executeOnNodes(RedisScriptingAsyncCommands::scriptFlush, + Map> executions = executeOnNodes(RedisScriptingAsyncCommands::scriptKill, redisClusterNode -> true); return MultiNodeExecution.alwaysOkOfAsync(executions); }