diff --git a/pom.xml b/pom.xml
index 5c8ff7b7a..67d9053b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
org.redisson
redisson
- 2.2.22-SNAPSHOT
+ 2.2.23-SNAPSHOT
bundle
Redisson
diff --git a/src/main/java/org/redisson/RedissonRemoteService.java b/src/main/java/org/redisson/RedissonRemoteService.java
index 1d3e3b67c..07cf37a60 100644
--- a/src/main/java/org/redisson/RedissonRemoteService.java
+++ b/src/main/java/org/redisson/RedissonRemoteService.java
@@ -150,7 +150,7 @@ public class RedissonRemoteService implements RRemoteService {
// send the ack only if expected
if (request.getOptions().isAckExpected()) {
- String ackName = name + ":{" + remoteInterface.getName() + "}:ack";
+ String ackName = getAckName(remoteInterface.getName(), request.getRequestId());
Future ackClientsFuture = redisson.getScript().evalAsync(responseName, Mode.READ_WRITE, LongCodec.INSTANCE,
"if redis.call('setnx', KEYS[1], 1) == 1 then "
+ "redis.call('pexpire', KEYS[1], ARGV[2]);"
@@ -159,9 +159,9 @@ public class RedissonRemoteService implements RRemoteService {
+ "return 1;"
+ "end;"
+ "return 0;", RScript.ReturnType.BOOLEAN, Arrays.