Commit Graph

4082 Commits (bdb5e1cf43ca6532096dee98611af2417dc00b0a)
 

Author SHA1 Message Date
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
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 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 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 f1526a93fd Fixed - Redisson Spring Boot doesn't start properly without lettuce or jedis in classpath #1774 6 years ago
Nikita Koksharov b8ca822b4a Fixed - Redisson shouldn't be shutdown in RedissonConnectionFactory #1736 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
Nikita Koksharov ce3fd29f70 RedissonRegionFactory.createRedissonClient method introduced 6 years ago
Nikita Koksharov ca8c7f88a1 Fixed - RoundRobinLoadBalancer doesn't distribute load equally if one of slave nodes was failed #1766 6 years ago
Nikita Koksharov dc7036c9d8 Fixed - Master node shouldn't be shutdown on slave down event in Sentinel mode. #1746 6 years ago
Nikita Koksharov 9e3e9fe547 Fixed - failed Redis Master node is not shutdown properly. #1746 6 years ago
Nikita Koksharov de1f34498a Fixed - Spring Session keyPrefix setting isn't used in session name. #1755 6 years ago
Nikita Koksharov 1ae5935f21 Fixed - restored implementation of DnsAddressResolverGroupFactory. Issues solver of netty bug #8261 extracted to MultiDnsAddressResolverGroupFactory #1750 6 years ago
Nikita Koksharov 3740e1c8bd
Update README.md 6 years ago
Nikita Koksharov 46c50f3728
Update README.md 6 years ago
Nikita Koksharov 033109b8a0
Update README.md 6 years ago
Nikita Koksharov 874f1c8ef3
Update README.md 6 years ago