From 4bc53fd54d3838f89e2949a2c96ea6a8d930b6e6 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 29 Sep 2021 13:12:32 +0300 Subject: [PATCH] Fixed - don't retry non-idempotent operations which were successfully sent. #3850 --- .../main/java/org/redisson/client/protocol/RedisCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java b/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java index e93e50329..1b8e461bd 100644 --- a/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java +++ b/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java @@ -504,7 +504,7 @@ public interface RedisCommands { RedisStrictCommand> INFO_KEYSPACE = new RedisStrictCommand>("INFO", "KEYSPACE", new StringMapDataDecoder()); Set NO_RETRY = new HashSet<>( - Arrays.asList(LPOP.getName(), RPOP.getName(), LPUSH.getName(), RPUSH.getName(), + Arrays.asList(RPOPLPUSH.getName(), LPOP.getName(), RPOP.getName(), LPUSH.getName(), RPUSH.getName(), LPUSHX.getName(), RPUSHX.getName(), GEOADD.getName(), XADD.getName(), APPEND.getName(), DECR.getName(), "DECRBY", INCR.getName(), INCRBY.getName(), ZINCRBY.getName(), "HINCRBYFLOAT", "HINCRBY", "INCRBYFLOAT"));