eyison opened DATAREDIS-1151 and commented
when I use clean method in class DefaultRedisCacheWriter ,it will excute keys command which is block,it may take a lot of time and cause other commands time out
Affects: 2.1.17 (Lovelace SR17), 2.2.7 (Moore SR7), 2.3 GA (Neumann)
Reference URL:
|
byte[][] keys = Optional.ofNullable(connection.keys(pattern)).orElse(Collections.emptySet()) |
Issue Links:
- DATAREDIS-1113 Use SCAN instead KEYS when clean cache
("is duplicated by")
- DATAREDIS-1176 org.springframework.data.redis.cache.DefaultRedisCacheWriter#clean method may ruin performance
("is duplicated by")
- DATAREDIS-1152 change clean method
keys command to scan in DefaultRedisCacheWriter
("is duplicated by")
Referenced from: pull request #532
1 votes, 4 watchers
eyison opened DATAREDIS-1151 and commented
when I use
cleanmethod in classDefaultRedisCacheWriter,it will excutekeyscommand which is block,it may take a lot of time and cause other commands time outAffects: 2.1.17 (Lovelace SR17), 2.2.7 (Moore SR7), 2.3 GA (Neumann)
Reference URL:
spring-data-redis/src/main/java/org/springframework/data/redis/cache/DefaultRedisCacheWriter.java
Line 182 in 2bcb06a
Issue Links:
("is duplicated by")
("is duplicated by")
keyscommand toscanin DefaultRedisCacheWriter("is duplicated by")
Referenced from: pull request #532
1 votes, 4 watchers