diff --git a/pom.xml b/pom.xml
index 7332019f6..ec03e4c32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
pom
Redisson
@@ -28,7 +28,7 @@
scm:git:git@github.com:redisson/redisson.git
scm:git:git@github.com:redisson/redisson.git
scm:git:git@github.com:redisson/redisson.git
- redisson-3.11.0
+ redisson-3.11.0.1507
diff --git a/redisson-all/pom.xml b/redisson-all/pom.xml
index 15c045edc..45604d80d 100644
--- a/redisson-all/pom.xml
+++ b/redisson-all/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
@@ -26,7 +26,7 @@
scm:git:git@github.com:mrniko/redisson.git
scm:git:git@github.com:mrniko/redisson.git
scm:git:git@github.com:mrniko/redisson.git
- redisson-3.11.0
+ redisson-3.11.0.1507
diff --git a/redisson-hibernate/pom.xml b/redisson-hibernate/pom.xml
index 5de3eb940..e1d4be54d 100644
--- a/redisson-hibernate/pom.xml
+++ b/redisson-hibernate/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-hibernate/redisson-hibernate-4/pom.xml b/redisson-hibernate/redisson-hibernate-4/pom.xml
index 6c37f830f..c7c7f0ae1 100644
--- a/redisson-hibernate/redisson-hibernate-4/pom.xml
+++ b/redisson-hibernate/redisson-hibernate-4/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-hibernate
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-hibernate/redisson-hibernate-5/pom.xml b/redisson-hibernate/redisson-hibernate-5/pom.xml
index 0153f3cb7..1b48adc06 100644
--- a/redisson-hibernate/redisson-hibernate-5/pom.xml
+++ b/redisson-hibernate/redisson-hibernate-5/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-hibernate
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-hibernate/redisson-hibernate-52/pom.xml b/redisson-hibernate/redisson-hibernate-52/pom.xml
index 879410e85..e4d7e67d3 100644
--- a/redisson-hibernate/redisson-hibernate-52/pom.xml
+++ b/redisson-hibernate/redisson-hibernate-52/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-hibernate
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-hibernate/redisson-hibernate-53/pom.xml b/redisson-hibernate/redisson-hibernate-53/pom.xml
index b539618b2..305ba3ef2 100644
--- a/redisson-hibernate/redisson-hibernate-53/pom.xml
+++ b/redisson-hibernate/redisson-hibernate-53/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-hibernate
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-boot-starter/pom.xml b/redisson-spring-boot-starter/pom.xml
index 16e45ddb8..f088117de 100644
--- a/redisson-spring-boot-starter/pom.xml
+++ b/redisson-spring-boot-starter/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/pom.xml b/redisson-spring-data/pom.xml
index 090d6ee53..7c0ab0914 100644
--- a/redisson-spring-data/pom.xml
+++ b/redisson-spring-data/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/redisson-spring-data-16/pom.xml b/redisson-spring-data/redisson-spring-data-16/pom.xml
index e0814ecdb..0c3d13a41 100644
--- a/redisson-spring-data/redisson-spring-data-16/pom.xml
+++ b/redisson-spring-data/redisson-spring-data-16/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-spring-data
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/redisson-spring-data-17/pom.xml b/redisson-spring-data/redisson-spring-data-17/pom.xml
index 6dfd97a65..e1254c8d1 100644
--- a/redisson-spring-data/redisson-spring-data-17/pom.xml
+++ b/redisson-spring-data/redisson-spring-data-17/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-spring-data
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/redisson-spring-data-18/pom.xml b/redisson-spring-data/redisson-spring-data-18/pom.xml
index 33531fdad..5b5168648 100644
--- a/redisson-spring-data/redisson-spring-data-18/pom.xml
+++ b/redisson-spring-data/redisson-spring-data-18/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-spring-data
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/redisson-spring-data-20/pom.xml b/redisson-spring-data/redisson-spring-data-20/pom.xml
index 5d0464d68..4669d8722 100644
--- a/redisson-spring-data/redisson-spring-data-20/pom.xml
+++ b/redisson-spring-data/redisson-spring-data-20/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-spring-data
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-spring-data/redisson-spring-data-21/pom.xml b/redisson-spring-data/redisson-spring-data-21/pom.xml
index 7450bd226..2752bc2d3 100644
--- a/redisson-spring-data/redisson-spring-data-21/pom.xml
+++ b/redisson-spring-data/redisson-spring-data-21/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-spring-data
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-tomcat/pom.xml b/redisson-tomcat/pom.xml
index 815e468f9..c59320432 100644
--- a/redisson-tomcat/pom.xml
+++ b/redisson-tomcat/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-tomcat/redisson-tomcat-6/pom.xml b/redisson-tomcat/redisson-tomcat-6/pom.xml
index c4850f317..8a94dd084 100644
--- a/redisson-tomcat/redisson-tomcat-6/pom.xml
+++ b/redisson-tomcat/redisson-tomcat-6/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-tomcat
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-tomcat/redisson-tomcat-7/pom.xml b/redisson-tomcat/redisson-tomcat-7/pom.xml
index 58b9f892e..e87a9cbdd 100644
--- a/redisson-tomcat/redisson-tomcat-7/pom.xml
+++ b/redisson-tomcat/redisson-tomcat-7/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-tomcat
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-tomcat/redisson-tomcat-8/pom.xml b/redisson-tomcat/redisson-tomcat-8/pom.xml
index 615ec8cde..e5417c931 100644
--- a/redisson-tomcat/redisson-tomcat-8/pom.xml
+++ b/redisson-tomcat/redisson-tomcat-8/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-tomcat
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson-tomcat/redisson-tomcat-9/pom.xml b/redisson-tomcat/redisson-tomcat-9/pom.xml
index bde712320..eb3010cb7 100644
--- a/redisson-tomcat/redisson-tomcat-9/pom.xml
+++ b/redisson-tomcat/redisson-tomcat-9/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-tomcat
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson/pom.xml b/redisson/pom.xml
index f3aa6e43f..5866f4918 100644
--- a/redisson/pom.xml
+++ b/redisson/pom.xml
@@ -4,7 +4,7 @@
org.redisson
redisson-parent
- 3.11.0
+ 3.11.0.1507
../
diff --git a/redisson/src/main/java/org/redisson/RedissonMapCache.java b/redisson/src/main/java/org/redisson/RedissonMapCache.java
index 74acf6d48..53725a137 100644
--- a/redisson/src/main/java/org/redisson/RedissonMapCache.java
+++ b/redisson/src/main/java/org/redisson/RedissonMapCache.java
@@ -445,14 +445,17 @@ public class RedissonMapCache extends RedissonMap implements RMapCac
@Override
public RFuture getOperationAsync(K key) {
return commandExecutor.evalWriteAsync(getName(key), codec, RedisCommands.EVAL_MAP_VALUE,
+ "local loglist = KEYS[6]; " +
"local value = redis.call('hget', KEYS[1], ARGV[2]); "
+ "if value == false then "
- + "return nil; "
+ + " redis.call('rpush', loglist, 'getOperationAsync value not found'); "
+ + "return nil; "
+ "end; "
+ "local t, val = struct.unpack('dLc0', value); "
+ "local expireDate = 92233720368547758; " +
"local expireDateScore = redis.call('zscore', KEYS[2], ARGV[2]); "
+ "if expireDateScore ~= false then "
+ + " redis.call('rpush', loglist, 'getOperationAsync expireDateScore='..expireDateScore); "
+ "expireDate = tonumber(expireDateScore) "
+ "end; "
+ "if t ~= 0 then "
@@ -465,6 +468,7 @@ public class RedissonMapCache extends RedissonMap implements RMapCac
+ "end; "
+ "end; "
+ "if expireDate <= tonumber(ARGV[1]) then "
+ + " redis.call('rpush', loglist, 'getOperationAsync expireDate <= currenttime of '..ARGV[1]); "
+ "return nil; "
+ "end; "
+ "local maxSize = tonumber(redis.call('hget', KEYS[5], 'max-size')); " +
@@ -472,7 +476,12 @@ public class RedissonMapCache extends RedissonMap implements RMapCac
" redis.call('zadd', KEYS[4], tonumber(ARGV[1]), ARGV[2]); " +
"end; "
+ "return val; ",
- Arrays.