Nikita Koksharov
6a10ecf2cb
Feature - ability to inject task id added. #1503
5 years ago
Nikita Koksharov
dabbebbde3
javadocs added
5 years ago
Nikita Koksharov
4e9c6ccce2
[maven-release-plugin] prepare for next development iteration
5 years ago
Nikita Koksharov
db0bbcca0a
[maven-release-plugin] prepare release redisson-parent-3.11.6
5 years ago
Nikita Koksharov
dacafcc175
refactoring
5 years ago
Nikita Koksharov
cc41434aa1
jackson updated
5 years ago
Nikita Koksharov
930a1cf187
jackson updated
5 years ago
Nikita Koksharov
4dcc0e7a9f
refactoring
5 years ago
Nikita Koksharov
5ea2008d4d
Feature - RCountDownLatchRx and RCountDownLatchReactive objects added. #2429
5 years ago
Nikita Koksharov
e54f659038
Fixed - channel subscription proccess in interrupted methods can't be interrupted #2428
5 years ago
Nikita Koksharov
b9829c0177
Feature - awaitAsync methods added to RCountDownLatch object. #2427
5 years ago
Nikita Koksharov
26cda95ef0
refactoring
5 years ago
Nikita Koksharov
d9d346fa33
Feature - RExecutorService.getTaskIds method added #2424
5 years ago
Nikita Koksharov
b66bcbbbff
test fixed
5 years ago
Nikita Koksharov
2621b4c768
Feature - checkSlotsCoverage setting added to cluster config. #2284
5 years ago
Nikita Koksharov
35204d0ccf
Fixed - RMap.get() method invokes MapWriter.write() method during value loading. #2411
5 years ago
Nikita Koksharov
990595a540
added logging to DNSMonitor class
5 years ago
Nikita Koksharov
399f5d7bf5
Feature - RExecutorServiceAsync.cancelTaskAsync() method added.
5 years ago
Nikita Koksharov
bbeaf0387c
Feature - RExecutorService.hasTask method added. #2360
5 years ago
Nikita Koksharov
6d2dd5ab97
Added exception handling to Kryo5Codec
5 years ago
Nikita Koksharov
5375a8ac99
refactoring
5 years ago
Nikita Koksharov
0c7ea7f46b
refactoring
5 years ago
Nikita Koksharov
6635071eb5
Merge branch 'master' of github.com:redisson/redisson
5 years ago
Nikita Koksharov
1694dd04ae
Fixed - Interrupted blocking methods aren't canceled #2403
5 years ago
Nikita Koksharov
279cdd2e86
Merge pull request #2400 from JokerQueue/master
...
ClusterNodesDecoder ignore unknown flag and avoid throwing exception, fix bug #2399
5 years ago
ZhangJQ
91df94fcce
ClusterNodesDecoder ignore unknown flag and avoid throwing exception
5 years ago
Nikita Koksharov
8e74c0e9f6
Fixed - AsyncSemaphore counter field should be volatile. #2398
5 years ago
Nikita Koksharov
7bb7e1066b
Fixed - Data encoding exception is not logged during remote call invocation
5 years ago
Nikita Koksharov
e8c268e5d4
jackson-databind updated
5 years ago
Nikita Koksharov
76e55a6b30
refactoring
5 years ago
Nikita Koksharov
5621bdce23
Feature - added poll() methods with limit to RQueue, RDeque, RDelayedQueue objects #2391
5 years ago
Nikita Koksharov
758acbe5f3
Feature - RMap write-behind queue should be fault-tolerant #2388
5 years ago
Nikita Koksharov
94d350c744
Fixed - RKeysRx.getKeys() and RKeysReactive.getKeys() methods aren't working. #2381
5 years ago
Nikita Koksharov
246f1d7d3c
Feature - RExecutorService.getTaskCount method added. #2350
5 years ago
Nikita Koksharov
4ed58193df
refactoring
5 years ago
Nikita Koksharov
e1c16bc3bc
javadocs fixed
5 years ago
Nikita Koksharov
12131e9bec
byte-buddy updated
5 years ago
Nikita Koksharov
45c47952c1
[maven-release-plugin] prepare for next development iteration
5 years ago
Nikita Koksharov
ce81ff5cb6
[maven-release-plugin] prepare release redisson-3.11.5
5 years ago
Nikita Koksharov
31ed986967
refactoring
5 years ago
Nikita Koksharov
0041487e74
refactoring
5 years ago
Nikita Koksharov
8b8cbab950
RLiveObjectService.persist optimization
5 years ago
Nikita Koksharov
10bfcac10b
Fixed - cluster connection manager discoveries wrong slot changes. #2371
5 years ago
Nikita Koksharov
082c0dccf8
Fixed - host details in Redis url cause extra bracket at the end. #2370
5 years ago
Nikita Koksharov
2e6de2ee1f
refactoring
5 years ago
Nikita Koksharov
394d683e0f
refactoring
5 years ago
Nikita Koksharov
0ceaa4527b
refactoring
5 years ago
Nikita Koksharov
780eea2e0b
refactoring
5 years ago
Nikita Koksharov
e97e78fa65
Feature - Kryo5Codec implemented. #2366
5 years ago
Nikita Koksharov
af655fed54
refactoring
5 years ago
Nikita Koksharov
710c384111
Fixed - RBuckets.get() method doesn't work with custom codec. #2361
5 years ago
Nikita Koksharov
0b941a1b7c
Feature - added batched persist method to RLiveObjectService object #2359
5 years ago
Nikita Koksharov
0d4ec96df6
Fixed - RLock.unlock() method hangs forever. #2355
5 years ago
Nikita Koksharov
794f5030a1
Fixed - RStream.trim method throws exception #2352
5 years ago
Nikita Koksharov
96daf5dc9c
Feature - subscribeOnFirstElements and subscribeOnLastElements methods added to RScoredSortedSet object #2349
5 years ago
Nikita Koksharov
e85efa89af
javadocs fixed
5 years ago
Nikita Koksharov
72afbe83d9
Feature - subscribeOnElements method added to RBlockingQueue. subscribeOnFirstElements and subscribeOnLastElements methods added to RBlockingDeque #2346
5 years ago
Nikita Koksharov
21158954b9
refactoring
5 years ago
Nikita Koksharov
3dcb6369c7
Fixed - CommandsQueue handler consumes 100% of CPU resources. #2299
5 years ago
Nikita Koksharov
16b28b7a7f
javadocs fixed
5 years ago
Nikita Koksharov
aa7ddb84a8
refactoring
5 years ago
Nikita Koksharov
deef379c69
dependencies updated
5 years ago
Nikita Koksharov
c4f95cbca7
Feature - Automatic-Module-Name entry added to manifest file. #2342
5 years ago
Nikita Koksharov
4d96330421
[maven-release-plugin] prepare for next development iteration
5 years ago
Nikita Koksharov
ef4cfb22ac
[maven-release-plugin] prepare release redisson-3.11.4
5 years ago
Nikita Koksharov
f0e27b4a03
refactoring
5 years ago
Nikita Koksharov
f2e9063bd9
jackson updated
5 years ago
Nikita Koksharov
d9793a669a
Fixed - threads blocked waiting on CountDownLatch #2304
6 years ago
Nikita Koksharov
8b4d453064
Fixed - rename and renamenx methods of RMultimap interface aren't working. #2066
6 years ago
Nikita Koksharov
3a47ed40c0
Fixed - memory leak caused by FastThreadLocal used in CodecDecoder. #2309
6 years ago
Nikita Koksharov
cbfb32ee7b
refactoring
6 years ago
Nikita Koksharov
05920f51c6
Fixed - queue blocking methods don't re-throw InterruptedException #2327
6 years ago
Nikita Koksharov
941ce121dc
Fixed - Redisson.shutdown blocks calling thread. #2306
6 years ago
Nikita Koksharov
2f7b089a14
Feature - support for gt, ge, lt and le conditions in LiveObject search engine #2324
6 years ago
Nikita Koksharov
7ac980b3f5
Fixed - ExecutorService tasks duplication after task retry event. #2308
6 years ago
Nikita Koksharov
d4d66216ad
refactoring
6 years ago
Nikita Koksharov
a863a7c44e
Javadoc fixed
6 years ago
Nikita Koksharov
217df41dc7
refactoring
6 years ago
Nikita Koksharov
eb962251f4
refactoring
6 years ago
Nikita Koksharov
094274a465
refactoring
6 years ago
Nikita Koksharov
64d4ee5099
Merge branch 'master' of github.com:redisson/redisson
6 years ago
Nikita Koksharov
0487fd9c40
Fixed - Redisson.shutdown blocks calling thread. #2306
6 years ago
AndreevDm
d677f49e7a
Do not wrap in square brackets already wrapped IPv6 addresses v2
...
There was already a fix b7df3a2d29
But it was lost in a9f7a99388 (diff-7d2da5068938564117bd318316bdd1ad)
6 years ago
Nikita Koksharov
fe4d444414
Fixed - RMapCache.remainTimeToLive method returns negative remain time. #2272
6 years ago
Nikita Koksharov
ec9a661aa4
deprecate some methods
6 years ago
Nikita Koksharov
dec65f7cc6
refactoring
6 years ago
Nikita Koksharov
7ccc1335d3
Fixed - RBucket.get doesn't work in Redis cluster mode. #2240
6 years ago
Nikita Koksharov
23fd2a6e32
Fixed - wrong error message if Sentinel server has misconfiguration #2291
6 years ago
Nikita Koksharov
e64392b1bd
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
b4ed1bb342
[maven-release-plugin] prepare release redisson-3.11.3
6 years ago
Nikita Koksharov
a2851e5a17
refactoring
6 years ago
Nikita Koksharov
a3d6d59e07
refactoring
6 years ago
Nikita Koksharov
e164c76665
Improvement - useCache parameter added to FstCodec. #2206
6 years ago
Nikita Koksharov
4f3fbe0281
Feature - JBoss Marshalling codec implementation. #2283
6 years ago
Nikita Koksharov
e543b8d17a
tests fixed
6 years ago
Nikita Koksharov
53e4c223d6
Fixed - Redisson couldn't be shutdown if one of RBatch commands was canceled. #2275
6 years ago
Nikita Koksharov
c1c1e1e5bd
version updated
6 years ago
Nikita Koksharov
14a5bef668
refactoring
6 years ago
Nikita Koksharov
2bcddb1d3b
Feature - allow to use Spring's @Autowired, @Value and JSR-330 @Inject annotations in ExecutorService tasks. #1657
6 years ago
Nikita Koksharov
f58c083653
refactoring
6 years ago
Nikita Koksharov
ecd3a2cb35
refactoring
6 years ago
Nikita Koksharov
a7cb1a48c2
refactoring
6 years ago
Nikita Koksharov
c72cdb9e9b
refactoring
6 years ago
Nikita Koksharov
dc7206ab79
Fixed - semaphore object is not deleted after RLocalCachedMap.clearLocalCache method invocation. #2273
6 years ago
Nikita Koksharov
8669589d7e
refactoring
6 years ago
Nikita Koksharov
1a6ef7b9f9
refactoring
6 years ago
Nikita Koksharov
fa0a6740c4
refactoring
6 years ago
Nikita Koksharov
9c00ed388d
checkstyle updated
6 years ago
Nikita Koksharov
d7e186eb12
refactoring
6 years ago
Nikita Koksharov
90c19483c2
lib versions updated
6 years ago
Nikita Koksharov
b3e3215f2e
Fixed - RStream.readGroup method doesn't work properly with TypedJsonJacksonCodec #2107
6 years ago
Nikita Koksharov
3d3d429922
refactoring
6 years ago
Nikita Koksharov
a5511ed142
Improvement - URL object should be used for sslKeystore and sslTruststore settings. #1644
6 years ago
Nikita Koksharov
7bc7dfe2f2
Fixed - RedisTimeoutException is thrown if retryAttempts set to 0 #1611
6 years ago
Nikita Koksharov
a52796fb31
Feature - SSL support for Sentinel mode. #2261
6 years ago
Nikita Koksharov
f4a631482f
refactoring
6 years ago
Nikita Koksharov
80414518b7
getId() method added to RedissonClient, RedissonRxClient, RedissonReactiveClient interfaces
6 years ago
Nikita Koksharov
d6d6d57cd7
refactoring
6 years ago
Nikita Koksharov
2e9b297b4a
refactoring
6 years ago
Nikita Koksharov
6c43f4cfa9
Feature - sizeInMemory method added to RObjectReactive and RObjectRx interfaces
6 years ago
Nikita Koksharov
66b69af417
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
9768af99dd
[maven-release-plugin] prepare release redisson-3.11.2
6 years ago
Nikita Koksharov
102669fab9
test fixed
6 years ago
Nikita Koksharov
ac6581ed21
Fixed - RBatch throws NoSuchElementException. #2212
6 years ago
Nikita Koksharov
06d155f2c8
jackson-databind updated
6 years ago
Nikita Koksharov
89181bfc11
refactoring
6 years ago
Nikita Koksharov
f4611f0035
Fixed - RedisTimeoutException is thrown if retryInterval set to 0 #2175
6 years ago
Alexandru.Guzun
a53f7839f1
Fixed #2241 . Set.intersection, union and diff should return a Single, or Mono, of Integer, not long
6 years ago
Nikita Koksharov
fb85c4356e
Fixed - FSTCodec is not fully copied #2177
6 years ago
Nikita Koksharov
4dfbbe0d06
maven-bundle-plugin updated
6 years ago
Nikita Koksharov
5e76ca1e4f
Fixed - CommandAsyncService.CODECS changed to Soft reference map. #2177
6 years ago
Nikita Koksharov
1e680b2911
refactoring
6 years ago
Nikita Koksharov
f9b7567263
Fixed - RKeys.deleteByPatternAsync doesn't work in batch mode #2216
6 years ago
Nikita Koksharov
c856c35373
Improvement - RKeys.deleteByPattern performance improvements
6 years ago
Nikita Koksharov
12e81de984
Fixed - Subscribe timeouts after failover. #2181
6 years ago
Nikita Koksharov
8a898ced46
Fixed - a new attempt is not made if node with defined slot hasn't been discovered. #2234
6 years ago
Nikita Koksharov
6af30bca91
RLiveObject should implement RExpirable
6 years ago
Nikita Koksharov
27aae56795
typo fixed
6 years ago
Nikita Koksharov
c1b7f54a04
refactoring
6 years ago
Nikita Koksharov
bc9b3e04d6
remove invocation of loadComparator method during RSortedSet creation
6 years ago
Nikita Koksharov
f17928c925
RLiveObjectService.asRExpirable is deprecated
6 years ago
Nikita Koksharov
553135e470
jackson-databind updated
6 years ago
Nikita Koksharov
eafb42c453
Fixed - some methods of RScript doesn't use defined codec. #2228
6 years ago
Nikita Koksharov
5fdd5c1b24
Fixed - removeAll method doesn't work on collections returned by Multimap based objects. #2219
6 years ago
Nikita Koksharov
d8854b3bb0
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
fa0d64dae8
Merge branch 'master' of github.com:redisson/redisson
6 years ago
Nikita Koksharov
ef033d886c
[maven-release-plugin] prepare release redisson-3.11.1
6 years ago
Nikita Koksharov
bc2af1eca4
Merge pull request #2161 from mcacker/issue-1507-mapcache-expiration2
...
Issue 1507 mapcache expiration
6 years ago
Nikita Koksharov
7701bcb066
typos fixed
6 years ago
Nikita Koksharov
d5a69754bb
Merge pull request #2100 from jncorpron/timeout_drift
...
Fix #2099 timeout drift in RedissonFairLock
6 years ago
Justin Corpron
df6cca4bcf
Remove formatting of unchanged logic
6 years ago
Nikita Koksharov
52e80ed8a3
Merge pull request #2191 from tristanlins/hotfix-multiple-env
...
Support multiple environment variables with default
6 years ago
Nikita Koksharov
305a317e67
Merge pull request #2190 from jchobantonov/master
...
add default entries in MANIFEST.MF file and extra Build-Time entry as well #2185
6 years ago
Tristan Lins
52007ecc91
Allow usage of multiple env variables with default values in one config entry
6 years ago
Tristan Lins
a82e4ce9f3
SingleServerConfig#getAddress() is a String, not an URI anymore #2150 #2029
...
Since 0ce487f08d
SingleServerConfig#getAddress() return type has changed to String.
6 years ago
Nikita Koksharov
82802f5d41
Revert "make javax.cache, io.projectreactor, io.reactivex.rxjava2 dependencies optional #1070"
...
This reverts commit bab459a3ba
.
6 years ago
Zhelyazko Chobantonov
0721fe17df
add default entries in MANIFEST.MF file and extra Build-Time entry as well #2185
6 years ago
Nikita Koksharov
8c53144ecc
connectionMinimumIdleSize set to 24 #2189
6 years ago
Nikita Koksharov
b357e62a5d
Fixed - dead Sentinel appears in logs as node added and down. #2143
6 years ago
Nikita Koksharov
58236688af
license header added
6 years ago
Nikita Koksharov
bab459a3ba
make javax.cache, io.projectreactor, io.reactivex.rxjava2 dependencies optional #1070
6 years ago
Nikita Koksharov
c140b5cdb7
Fixed - Publish/Subscribe connections are not resubscribed properly after failover process. #2181
6 years ago
Nikita Koksharov
d8055ba0dd
Fixed - RedissonLocalCachedMap.clearLocalCache method executes asynchronously. #1926
6 years ago
Nikita Koksharov
7ec36c23f9
test fixed
6 years ago
Nikita Koksharov
4f78eaa7e8
Fixed - RStream.getInfo throws java.lang.ClassCastException #2174
6 years ago
Nikita Koksharov
9d10cf9ab7
refactoring
6 years ago
Nikita Koksharov
98c54bf8e4
refactoring
6 years ago
Nikita Koksharov
557fe2f459
refactoring
6 years ago
Nikita Koksharov
d7b029327a
Fixed - RedissonMultiLock could be acquired by multiple threads if waitTime == -1 and leaseTime != -1. #2172
6 years ago
Nikita Koksharov
8a585cd0e3
javadocs added
6 years ago
Nikita Koksharov
df1d8589c6
test fixed
6 years ago
Nikita Koksharov
39df04eb2a
javadoc typos fixed
6 years ago
Nikita Koksharov
60f88d3194
Feature - getPendingInvocations method added to RRemoteService object. #2171
6 years ago
Nikita Koksharov
d5defdf03d
Merge branch 'master' of github.com:redisson/redisson
6 years ago
Nikita Koksharov
054dba84a4
Feature - implementation of Spring Session ReactiveSessionRepository added. #2163
6 years ago
Zhelyazko Chobantonov
6934b23c96
Use maven packaging for redisson project as jar instead of bundle #2135
6 years ago
Nikita Koksharov
e356c1e3d4
Fixed - SessionExpiredEvent is not triggered. #2153
6 years ago
Nikita Koksharov
8d78bf5197
Fixed - PRINCIPAL_NAME_INDEX_NAME key is not created in redis. SessionExpiredEvent is not triggered. #2153
6 years ago
Mitchell Ackerman
cd7af576ef
remove local config file
6 years ago
Mitchell Ackerman
cc89421a01
Merge branch 'master' into issue-1507-mapcache-expiration2
...
# Conflicts:
# pom.xml
# redisson-all/pom.xml
# redisson-hibernate/pom.xml
# redisson-hibernate/redisson-hibernate-4/pom.xml
# redisson-hibernate/redisson-hibernate-5/pom.xml
# redisson-hibernate/redisson-hibernate-52/pom.xml
# redisson-hibernate/redisson-hibernate-53/pom.xml
# redisson-spring-boot-starter/pom.xml
# redisson-spring-data/pom.xml
# redisson-spring-data/redisson-spring-data-16/pom.xml
# redisson-spring-data/redisson-spring-data-17/pom.xml
# redisson-spring-data/redisson-spring-data-18/pom.xml
# redisson-spring-data/redisson-spring-data-20/pom.xml
# redisson-spring-data/redisson-spring-data-21/pom.xml
# redisson-tomcat/pom.xml
# redisson-tomcat/redisson-tomcat-6/pom.xml
# redisson-tomcat/redisson-tomcat-7/pom.xml
# redisson-tomcat/redisson-tomcat-8/pom.xml
# redisson-tomcat/redisson-tomcat-9/pom.xml
# redisson/pom.xml
6 years ago
Mitchell Ackerman
6c7e6fc684
Merge branch 'master' into issue-1507-mapcache-expiration2
6 years ago
Mitchell Ackerman
46c36119d4
switch version to 3.11.0.1507-SNAPSHOT
6 years ago
Nikita Koksharov
d1a8936aec
Merge pull request #2158 from hs20xqy/master
...
Fixed - RedissonSessionRepository.class can't trigger created event,if set RedissonHttpSessionConfiguration.class keyPrefix attribute.
6 years ago
Nikita Koksharov
9e5087cf5e
Merge pull request #2138 from jchobantonov/master
...
resolves issue: ClassNotFoundException thrown during SeriazliationCodec.decode #2136
6 years ago
Nikita Koksharov
0ce487f08d
Fixed - host name containing underscore cause NPE. Illegal reflective access by org.redisson.misc.URIBuilder warning removed #2150 #2029
6 years ago
Nikita Koksharov
b2fc908615
code formatted
6 years ago
Mitchell Ackerman
b1a6f131c2
BOB-2132: refactored idle timetout
6 years ago
Nikita Koksharov
55047d9a0f
Feature - listPending method added to RStream, RStreamAsync, RStreamRx, RStreamReactive interfaces. #2156
6 years ago
Nikita Koksharov
09c2672ed4
RStream.getPendingInfo method added to RStream, RStreamAsync, RStreamRx, RStreamReactive interfaces.
6 years ago
huangsen
911fa38f93
Fixed - RedissonSessionRepository.class can't trigger created event,if set RedissonHttpSessionConfiguration.class keyPrefix attribute.
6 years ago
Mitchell Ackerman
cff18272b6
save to bob repo
6 years ago
Nikita Koksharov
1000e0f39a
Fixed - RRemoteService.getFreeWorkers removes registered service. #2151
6 years ago
Nikita Koksharov
be46b91482
Fixed - zero timeout isn't respected in RRateLimiter.tryAcquire method. #2149
6 years ago
Nikita Koksharov
ad03cba3fa
refactoring
6 years ago
Nikita Koksharov
336e5f18e2
Merge branch 'master' of github.com:redisson/redisson
6 years ago
Nikita Koksharov
6189c1bf71
Fixed - RedissonObjectBuilder.REFERENCES map isn't filled once. #2147
6 years ago
Nikita Koksharov
059423d9c8
Merge pull request #2137 from fgiannetti/3.0.0
...
Add natMap for Sentinel configuration
6 years ago
Nikita Koksharov
25914b000c
Fixed - RReadWriteLock.readLock doesn't take in account expiration date of the last acquired read lock. (thanks to Aimwhipy) #2144
6 years ago
Nikita Koksharov
9232aa6dba
iterators' result object of RMapRx changed to Flowable
6 years ago
Fernando Giannetti
a9f7a99388
allow IPv6 format on natMap
6 years ago
Zhelyazko Chobantonov
f62f028e08
resolves issue: ClassNotFoundException thrown during SeriazliationCodec.decode #2136
6 years ago
Nikita Koksharov
0b9f660d06
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
597293fe40
[maven-release-plugin] prepare release redisson-3.11.0
6 years ago
Nikita Koksharov
d172c32600
test added
6 years ago
Nikita Koksharov
01b94a82c0
refactoring
6 years ago
Nikita Koksharov
68286c2683
Feature - radiusStoreSortedTo methods added to RGeo, RGeoAsync, RGeoRx, RGeoReactive interfaces. #2113
6 years ago
Nikita Koksharov
5207d920d8
Feature - RRingBuffer object added. #249
6 years ago
Nikita Koksharov
75153ca798
libs updated
6 years ago
Nikita Koksharov
b777fed79e
Improvement - reduced memory consumption by ClusterConnectionManager. #2105
6 years ago
Nikita Koksharov
18a6cea368
Fixed - Redis response isn't fully consumed after decoding error. #2098
6 years ago
Nikita Koksharov
09c83745ad
refactoring
6 years ago
Nikita Koksharov
01db0c43df
refactoring
6 years ago
Nikita Koksharov
9b67dc6daa
Merge branch 'master' of github.com:redisson/redisson
6 years ago
Nikita Koksharov
cd595c130b
Feature - Async, Reactive, RxJava2 interfaces added to JCache. #2059
6 years ago
Nikita Koksharov
b1a863782c
Merge pull request #2091 from welkinbai/master
...
fix bug: in RedissonNodeConfig constructor with oldConf, miss mapRedu…
6 years ago
Nikita Koksharov
0cca617c78
Fixed - Spring Session PRINCIPAL_NAME_INDEX_NAME session attribute has incorrect name
6 years ago
Justin Corpron
6dbc972b6c
Fix timeout drift in RedissonFairLock
...
This change alters how timeouts are calculated for threads added into the queue
when the lock cannot be immediately acquired, and adds logic to reduce the
timeouts when a thread leaves the queue by either acquiring the lock or timing-
out while waiting. Tests have been added to ensure that the added and altered
lua code is necessary to provide the documented behavior of the fair lock, and
that the changes do not break existing desired behavior.
The timeout drift issue is resolved by decreasing the timeouts in the
redisson_lock_timeout sorted set when a thread is removed from the queue. This
logic was added to the tryLockInnerAsync lua code (both variations) in the
branch where the lock is successfully acquired, and in this case all timeouts
except the timeout being removed from the queue are decreased by threadWaitTime.
Additionally, the existing lua code in acquireFailedAsync was changed to always
decrease the timeouts regardless of where the removed thread is in the queue,
however this requires that the queue be traversed to determine the position of
the thread being removed is in the queue so that only those threads after it
have their timeouts decreased. The existing code also had the behavior where if
the 1st and 2nd threads in the queue were removed via acquireFailedAsync, the
TTL for the 3rd thread would equal the lock TTL and it would not be able to
acquire the lock fairly if the lock expired. This change requires the change to
the timeout calculation in order to fix both the timeout drift and the unfair
timeout decrease problems of the existing code.
The existing timeout calculation at the end of the lua code for
tryLockInnerAsync in the tryLock w/ waitTime call path used to be either the
lock timeout value + 5s for the first thread in the queue or for the other
threads in the queue the value was essentially the first thread's timeout + 5s.
This second rule for the 2nd thread is correct per the documentation, but for
the 3rd to the Nth thread, the timeout would not allow these threads to acquire
the lock fairly within 5s after the prior thread if the 1st and 2nd thread died
since their timeouts are the same as the 2nd thead, and this is contrary to the
documentation which provides 5s per thread in the queue. The new code sets the
timeout for a thread added to the queue to 5s plus the timeout of the thread at
the end of the queue; there is always a check now to see if the thread that has
failed to acquire the lock in the lua script is already in the queue, and if it
is already in the queue, then the lua code returns the approximate ttl based on
that thread's current timeout (timeout - 5s).
Note that the "remove stale threads" while loop was not altered even though it
also removes threads from the queue. This is the expected behavior and was
preserved, and some added tests now check the timeout expiration behavior.
6 years ago
Fernando Giannetti
3716299bea
Add natMap for Sentinel configuration
6 years ago
Nikita Koksharov
aec2460b76
Fixed - AsyncSemaphore doesn't notify sleeping threads with permits more than one. #2095
6 years ago
xiaoxuan.bai
7771c40434
fix bug: in RedissonNodeConfig constructor with oldConf, miss mapReduceWorkers value set
6 years ago
Nikita Koksharov
cf1404c960
refactoring
6 years ago
Nikita Koksharov
3e110e033e
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
7597274a3f
[maven-release-plugin] prepare release redisson-3.10.7
6 years ago
Nikita Koksharov
b338a5f035
refactoring
6 years ago
Nikita Koksharov
8f20f97e34
Feature - range method added to RList, RListReactive and RListRx interfaces. #2080
6 years ago
Nikita Koksharov
07f2e9af7a
checkstyle error fixed
6 years ago
Nikita Koksharov
da41773a8b
Fixed - disconnected sentinels shouldn't be listed in sentinel list. #2067
6 years ago
Nikita Koksharov
9146078ae3
Improvement - 10X Performance boost for JCache.putAll method #2079
6 years ago
Nikita Koksharov
689f7c95e9
Fixed - LiveObject field with Map type couldn't be persisted. #2061
6 years ago
Nikita Koksharov
c9bffacbdd
Feature - MILLISECONDS option added to RRateLimiter.RateIntervalUnit object #2073
6 years ago
Nikita Koksharov
328e070873
Fixed - RRateLimiter allows permits exceeding #2072
6 years ago
Nikita Koksharov
184be32c44
Fixed - CompositeCodec.getMapValueDecoder method uses MapKeyDecoder instead of MapValueDecoder #2068
6 years ago
Nikita Koksharov
98c73ccc14
refactoring
6 years ago
Nikita Koksharov
765d6ed129
Fixed - Memory leak during Queue blocking methods invocation. #2055
6 years ago
Nikita Koksharov
a056a200ca
Fixed - JCache.removeAll method doesn't notify Cache listeners #2056
6 years ago
Nikita Koksharov
b6f6931971
Improvement - JCache.getAll execution optimization for non-existing keys.
6 years ago
Nikita Koksharov
1d22aa65c9
tomcat updated
6 years ago
Nikita Koksharov
f65a9fd482
Maven build fails with "Unable to find: suppressions.xml" error #2048 (thanks to jchobantonov)
6 years ago
Nikita Koksharov
1332b03ed9
Fixed - Redis Sentinel prior 5.0.1 version doesn't require password. Regression since 3.10.5 #1981
6 years ago
Nikita Koksharov
ec5873bb1b
refactoring
6 years ago
Nikita Koksharov
caaeaf591b
Fixed - Redisson tries to renewed Lock expiration even if lock doesn't exist. Regression since 3.10.5 version #2037
6 years ago
Nikita Koksharov
c7b1b6f745
Feature - Add support for Reactive and RxJava2 interfaces for RemoteService object #2040
6 years ago
Nikita Koksharov
042290e9bd
Feature - Add support for Reactive and RxJava2 interfaces for RemoteService object #2040
6 years ago
Nikita Koksharov
747d073c1b
refactoring
6 years ago
Nikita Koksharov
d5a7a4ce84
refactoring
6 years ago
Nikita Koksharov
abe6f65fea
Fixed - FstCodec can't deserialize ConcurrentHashMap based object with package visibility #2035
6 years ago
Nikita Koksharov
797c089318
[maven-release-plugin] prepare for next development iteration
6 years ago
Nikita Koksharov
c31da7191c
[maven-release-plugin] prepare release redisson-3.10.6
6 years ago
Nikita Koksharov
817a03982c
updated Redis version used for testing
6 years ago
Nikita Koksharov
6cbe354a68
refactoring
6 years ago