Commit Graph

4146 Commits (0f85ab7f4b5af12c9d0ed9e69560b132b82830aa)
 

Author SHA1 Message Date
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
Rui Gu 78aff479d8
added a section explaining building branch 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