diff --git a/src/main/java/redis/clients/jedis/MultiNodePipelineBase.java b/src/main/java/redis/clients/jedis/MultiNodePipelineBase.java index 23ca8bc3d3..e4ea50dc0e 100644 --- a/src/main/java/redis/clients/jedis/MultiNodePipelineBase.java +++ b/src/main/java/redis/clients/jedis/MultiNodePipelineBase.java @@ -2863,7 +2863,7 @@ public Response> zrangeByScore(byte[] key, byte[] min, byte[] max) @Override public Response> zrevrangeByScore(byte[] key, double max, double min) { - return appendCommand(commandObjects.zrevrangeByScore(key, min, max)); + return appendCommand(commandObjects.zrevrangeByScore(key, max, min)); } @Override @@ -2873,7 +2873,7 @@ public Response> zrangeByScore(byte[] key, double min, double max, @Override public Response> zrevrangeByScore(byte[] key, byte[] max, byte[] min) { - return appendCommand(commandObjects.zrevrangeByScore(key, min, max)); + return appendCommand(commandObjects.zrevrangeByScore(key, max, min)); } @Override @@ -2883,7 +2883,7 @@ public Response> zrangeByScore(byte[] key, byte[] min, byte[] max, @Override public Response> zrevrangeByScore(byte[] key, double max, double min, int offset, int count) { - return appendCommand(commandObjects.zrevrangeByScore(key, min, max, offset, count)); + return appendCommand(commandObjects.zrevrangeByScore(key, max, min, offset, count)); } @Override @@ -2903,7 +2903,7 @@ public Response> zrangeByScoreWithScores(byte[] key, double min, dou @Override public Response> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count) { - return appendCommand(commandObjects.zrevrangeByScore(key, min, max, offset, count)); + return appendCommand(commandObjects.zrevrangeByScore(key, max, min, offset, count)); } @Override @@ -2963,12 +2963,12 @@ public Response> zrangeByLex(byte[] key, byte[] min, byte[] max, in @Override public Response> zrevrangeByLex(byte[] key, byte[] max, byte[] min) { - return appendCommand(commandObjects.zrevrangeByLex(key, min, max)); + return appendCommand(commandObjects.zrevrangeByLex(key, max, min)); } @Override public Response> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count) { - return appendCommand(commandObjects.zrevrangeByLex(key, min, max, offset, count)); + return appendCommand(commandObjects.zrevrangeByLex(key, max, min, offset, count)); } @Override