Commit Graph

4167 Commits (228319d656951d18c881c72666339213a8ba2eba)
 

Author SHA1 Message Date
Nikita Koksharov bdda6d8c0d refactoring 6 years ago
Nikita Koksharov 1b65896a82 Feature - Read-only GEORADIUS support #1140 6 years ago
Nikita Koksharov 8485d3592d Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov e7165159bc comments added 6 years ago
Nikita Koksharov 9bb32b4b2f Fixed - `RMap.getAll` throws ClassCastException during transaction execution #1798 6 years ago
Nikita Koksharov 4fe3766696
Merge pull request #1792 from redisson/jackygurui-patch-1
added a section explaining building branch
6 years ago
Nikita Koksharov 938a6255b2 netty updated 6 years ago
Nikita Koksharov c3b4d8480c refactoring 6 years ago
Nikita Koksharov 6c33173677 Feature - ability to use Environmental Variables in config files. #1246 6 years ago
Nikita Koksharov e15b4aa2a4 refactoring 6 years ago
Nikita Koksharov 53837c6fb5 Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov 5095cd7fa7 refactoring 6 years ago
Nikita Koksharov da3e103d4a
Update README.md 6 years ago
Nikita Koksharov c64e66a15a
Update README.md 6 years ago
Nikita Koksharov 37addf2093 Merge branch 'master' of github.com:redisson/redisson 6 years ago
Nikita Koksharov e4ba9eaf09 Feature - JndiRedissonFactory and JndiRedissonSessionManager added. #1819 6 years ago
Nikita Koksharov 76c60d434a refactoring 6 years ago
Nikita Koksharov d11d689c59
Update README.md 6 years ago
Nikita Koksharov ca97559c71 Feature - Hibernate Region Factories with JNDI support. #1818 6 years ago
Nikita Koksharov 70e91bb9ab Use FstCodec as default 6 years ago
Nikita Koksharov 786cda02cd refactoring 6 years ago
Nikita Koksharov 1768f4ff48 refactoring 6 years ago
Nikita Koksharov 94ea4db497 deps removed 6 years ago
Nikita Koksharov 8617feb576 refactoring 6 years ago
Nikita Koksharov 5bb2c6ae90 libs updated 6 years ago
Nikita Koksharov 7fdbce63bb refactoring 6 years ago
Nikita Koksharov 79a7ead83b refactoring 6 years ago
Nikita Koksharov 6025bab140 Fixed - lock-watchdog-timeout parameter added to redisson.xsd #1801 6 years ago
Nikita Koksharov d2faba3a68 Fixed - pingConnectionInterval parameter added to redisson.xsd #1761 6 years ago
Nikita Koksharov 696c2ec8d9 pingTimeout setting is deprecated 6 years ago
Nikita Koksharov ce25cbc6b7 refactoring 6 years ago
Nikita Koksharov fed5b714ff Fixed - zRevRangeWithScores does not work properly in Spring RedisTemplate. #1814 6 years ago
Nikita Koksharov 8ad76f2c30 refactoring 6 years ago
Nikita Koksharov 13abe16511 Fixed - CommandDecoder throws IndexOutOfBoundsException if pingConnectionInterval param is used #1497
Fixed - Unable to send command! error if pingConnectionInterval param is used #1632
6 years ago
Nikita Koksharov bdb5e1cf43 Fixed - NPE in CommandDecoder #1764 6 years ago
Nikita Koksharov 1a08db75b7 Improvement - RedisConnectionClosedException removed. #1695 #1748 6 years ago
Nikita Koksharov 97e582aea4 refactoring 6 years ago
Nikita Koksharov cd4326d6d2 Feature - RTopic.countSubscribers method added. #1472 6 years ago
Nikita Koksharov e2690921a3 Fixed - RBitSet object couldn't be used as nested object. #1751 6 years ago
Nikita Koksharov 60352b8490 Fixed - error during channel initialization is not logged. #1566 6 years ago
Nikita Koksharov 91e2cf9640 switched back to JDK 8 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 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