Commit Graph

4634 Commits (aff95578138068ca3d1577c5a589dcaf5164eb46)
 

Author SHA1 Message Date
Nikita Koksharov cf517134e3 Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov 91e2cf9640 switched back to JDK 8 6 years ago
Nikita Koksharov be8cff49b4 Merge branch 'master' into 3.0.0
# Conflicts:
#	redisson/src/main/java/org/redisson/reactive/MapReactiveIterator.java
#	redisson/src/main/java/org/redisson/reactive/RedissonMapCacheReactive.java
#	redisson/src/main/java/org/redisson/reactive/RedissonMapReactive.java
6 years ago
Nikita Koksharov b9f141dba1 refactoring 6 years ago
Nikita Koksharov b0afc60755 refactoring 6 years ago
Nikita Koksharov e89cce3b3e refactoring
# Conflicts:
#	redisson/src/main/java/org/redisson/reactive/MapReactiveIterator.java
#	redisson/src/main/java/org/redisson/reactive/RedissonKeysReactive.java
#	redisson/src/main/java/org/redisson/reactive/RedissonMapCacheReactive.java
#	redisson/src/main/java/org/redisson/reactive/RedissonMapReactive.java
#	redisson/src/main/java/org/redisson/reactive/SetReactiveIterator.java
6 years ago
Nikita Koksharov e893a861cf refactoring 6 years ago
Nikita Koksharov a2a7fbc0ea refactoring 6 years ago
Nikita Koksharov 09c9a50d36 Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov 96d4110a63 Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov 640e40e445 Fixed - RMapCache element expiration doesn't work with map size = 1 #1808 6 years ago
Nikita Koksharov 3d3d24b219 refactoring 6 years ago
Nikita Koksharov 04fc323c03
Merge pull request #1804 from alexwyler/master
[tomcat] Apply `keyPrefix` to both session and topic keys
6 years ago
Alex 98edad84b1 [tomcat] Apply `keyPrefix` to both session and top keys
I was testing out different codecs in different environments connected to the same redis instance.  I provided a different `keyPrefix` in `context.xml` to prevent one environment's codec from messing with another environment's session management.  However, since the `keyPrefix` is only applied to the session contents themselves and not the topic subscription, codec errors were still present and causing a lot of log spew.

I expected `keyPrefix` to apply not only to the session contents but also to the topic updates, so I'm publishing this PR to see if you guys agree.

Here are example of updates for two different codecs with two different `keyPrefix` BEFORE this commit is applied.
```+1544721052.037348 [0 10.0.1.184:40588] "publish" "redisson:tomcat_session_updates:" "{\"@class\":\"org.redisson.tomcat.AttributesPutAllMessage\",\"attrs\":{\"@class\":\"java.util.HashMap\",\"session:thisAccessedTime\":[\"java.lang.Long\",1544721052035],\"session:isNew\":true,\"session:lastAccessedTime\":[\"java.lang.Long\",1544721052035],\"session:maxInactiveInterval\":3600,\"session:isValid\":true,\"session:creationTime\":[\"java.lang.Long\",1544721052035]},\"nodeId\":\"a2a9d075-4b40-4ea4-a8f4-174cb8caaa08\",\"sessionId\":\"1D83362C925593187FB081FE63BD14D0\"}"```

```+1544721052.300687 [0 10.0.0.213:55652] "publish" "redisson:tomcat_session_updates:" "\xac\xed\x00\x05sr\x00*org.redisson.tomcat.AttributeUpdateMessage\x04\x81\x81\xaa!\xb5\xabE\x02\x00\x02L\x00\x04namet\x00\x12Ljava/lang/String;L\x00\x05valuet\x00\x12Ljava/lang/Object;xr\x00$org.redisson.tomcat.AttributeMessage_\xc4\xf5\xe6~\xa9v\xa3\x02\x00\x02L\x00\x06nodeIdq\x00~\x00\x01L\x00\tsessionIdq\x00~\x00\x01xpt\x00$178c19c3-a5d5-4152-bf99-72c5102c0addt\x00 1CAE476D1DCC75948E8DBD7BCA48FF16t\x00\rsession:isNewsr\x00\x11java.lang.Boolean\xcd r\x80\xd5\x9c\xfa\xee\x02\x00\x01Z\x00\x05valuexp\x00"```
6 years ago
Nikita Koksharov f5a7395269 Fixed - unable connect to Redis on Android. #1795 6 years ago
Rui Gu 78aff479d8
added a section explaining building branch 6 years ago
Nikita Koksharov addf8aaf35 refactoring 6 years ago
Nikita Koksharov bb17e021b1 Merge branch 'master' into 3.0.0
# Conflicts:
#	redisson/src/main/java/org/redisson/spring/session/RedissonSessionRepository.java
6 years ago
Nikita Koksharov e124acfec6 tests fixed 6 years ago
Nikita Koksharov 56ab865cd5 Fixed - Spring Session keyPrefix setting isn't used in session name. #1755 6 years ago
Nikita Koksharov 203a8c911b Sentinel address logging added 6 years ago
Nikita Koksharov 2d1b0522fd Revert "sentinel address logging added"
This reverts commit 48c8256d33.
6 years ago
Nikita Koksharov 48c8256d33 sentinel address logging added 6 years ago
Nikita Koksharov 52f476a398 Merge branch 'master' into 3.0.0
# Conflicts:
#	redisson/src/main/java/org/redisson/api/RMapReactive.java
#	redisson/src/main/java/org/redisson/api/RSetCacheReactive.java
#	redisson/src/main/java/org/redisson/reactive/RedissonSetReactive.java
6 years ago
Nikita Koksharov 6165e6211b javadocs fixed 6 years ago
Nikita Koksharov 4771e1c93d Feature - getReadWriteLock, getSemaphore, getPermitExpirableSemaphore, getFairLock, getLock methods added to RSetRx, RSetReactive, RSetCacheReactive, RSetCacheRx objects #1787 6 years ago
Nikita Koksharov 0b63e7412d javadocs fixed 6 years ago
Nikita Koksharov 711586151e Feature - getReadWriteLock, getCountDownLatch, getSemaphore, getPermitExpirableSemaphore, getFairLock methods added to RSet and RSetCache objects #1786 6 years ago
Nikita Koksharov 9a5f2cfcd2 Feature - getSemaphore, getPermitExpirableSemaphore, getFairLock, getLock, getReadWriteLock methods added to RMapRx and RMapReactive objects #1785 6 years ago
Nikita Koksharov e95545bab7 Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov fae3ad84fb Feature - getCountDownLatch, getSemaphore, getPermitExpirableSemaphore, getFairLock methods added to RMap #1783 6 years ago
Nikita Koksharov ddb763b7ff
Update README.md 6 years ago
Nikita Koksharov cede9e6b51
Update README.md 6 years ago
Nikita Koksharov 1ccab3f94f
Update README.md 6 years ago
Nikita Koksharov 800d650341
Update README.md 6 years ago
Nikita Koksharov cbafc09d2b Fixed - Pooled connection closed after MOVED redirection #1778 6 years ago
Nikita Koksharov 9624610be7 Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov ce5a17fd29 Fixed - LogHelper.toString should be used instead of Arrays.toString 6 years ago
Nikita Koksharov 69d879f726 Fixed - Config node address should be filled out. 6 years ago
Nikita Koksharov c64d6b6210 version fixed 6 years ago
Nikita Koksharov bf71a04ae8 versions updated 6 years ago
Nikita Koksharov 2c2756e3e3 Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov f1526a93fd Fixed - Redisson Spring Boot doesn't start properly without lettuce or jedis in classpath #1774 6 years ago
Nikita Koksharov 028da6b2a8 Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov 6f17ee1fa8 Fixed - Redisson shouldn't be shutdown in RedissonConnectionFactory #1736 6 years ago
Nikita Koksharov b8ca822b4a Fixed - Redisson shouldn't be shutdown in RedissonConnectionFactory #1736 6 years ago
Nikita Koksharov 915d55616a Merge branch 'master' into 3.0.0 6 years ago
Nikita Koksharov d15f4f6c56 license updated 6 years ago
Nikita Koksharov 365731758f Feature - TypedJsonJacksonCodec added. #1740 6 years ago
Nikita Koksharov f7b0328c33 refactoring 6 years ago