Commit Graph

1690 Commits

Author SHA1 Message Date
Mark Paluch
fffe52dedf DATAREDIS-917 - Update copyright years to 2019. 2019-01-02 14:19:06 +01:00
Christoph Strobl
88c327ee24 DATAREDIS-906 - Updated changelog. 2018-12-11 11:43:22 +01:00
chao chang
8ecd31ce29 DATAREDIS-903 - Remove Javadoc for unused RedisClusterConfiguration settings.
The following configuration keys which are not used in RedisClusterConfiguration, are removed from the Javadoc.
	 * spring.redis.cluster.timeout=5
	 * spring.redis.cluster.password=foobar

Original pull request: #375.
2018-12-06 08:48:11 +01:00
Mark Paluch
c92aec8c48 DATAREDIS-885 - Updated changelog. 2018-11-27 14:54:12 +01:00
Mark Paluch
172a319e42 DATAREDIS-879 - After release cleanups. 2018-11-27 12:16:34 +01:00
Mark Paluch
91109ccfa7 DATAREDIS-879 - Prepare next development iteration. 2018-11-27 12:16:33 +01:00
Mark Paluch
c2dbfb4cb1 DATAREDIS-879 - Release version 2.0.12 (Kay SR12). 2018-11-27 11:45:50 +01:00
Mark Paluch
d4347a9fa2 DATAREDIS-879 - Prepare 2.0.12 (Kay SR12). 2018-11-27 11:44:58 +01:00
Mark Paluch
4fa7ca1fc7 DATAREDIS-879 - Updated changelog. 2018-11-27 11:44:56 +01:00
Mark Paluch
e1174497ea DATAREDIS-880 - Updated changelog. 2018-11-27 11:27:27 +01:00
Mark Paluch
d204caab30 DATAREDIS-890 - Polishing.
Add author tags. Use try-with-resources to close Jedis.

Original pull request: #373.
2018-11-23 10:17:54 +01:00
ChenGuanqun
1d79ff5217 DATAREDIS-890 - Randomize Redis Cluster node order before topology retrieval.
We now shuffle the set of Redis Cluster nodes before retrieving the topology. This change reduces load on the first node in the known nodes set.

Original pull request: #373.
2018-11-23 10:17:54 +01:00
Mark Paluch
d785e29cc3 DATAREDIS-878 - Updated changelog. 2018-10-29 14:30:38 +01:00
Mark Paluch
10d021aede DATAREDIS-872 - Polishing.
Create unit tests for RedisAtomic counter initialization. Refactor setIfAbsent(…) method to initializeIfAbsent() to not expose additional API methods.

Original pull request: #367.
2018-10-19 12:37:12 +02:00
ningwei
6fd68267cb DATAREDIS-872 - Fix race condition in RedisAtomic counters initialization.
We now use setIfAbsent to initialize RedisAtomic counters if no initial value was given. Using setIfAbsent turns the initialization into a single atomic step that prevents race conditions of the previously check and set method that required two Redis commands.

Previously, concurrent processes (threads, external changes to Redis) could set the initial value between the existence check and the value set operation that caused the last participant to win.

Original pull request: #367.
2018-10-19 12:37:12 +02:00
Mark Paluch
33a1a090bd DATAREDIS-874 - Polishing.
Align Javadoc tonality across RedisAtomic… types.
2018-10-16 12:06:45 +02:00
Mark Paluch
fbc51ebbc6 DATAREDIS-866 - Updated changelog. 2018-10-15 14:19:08 +02:00
Mark Paluch
35f9079725 DATAREDIS-867 - After release cleanups. 2018-10-15 12:28:13 +02:00
Mark Paluch
444d7eb5ea DATAREDIS-867 - Prepare next development iteration. 2018-10-15 12:28:12 +02:00
Mark Paluch
316eb36be2 DATAREDIS-867 - Release version 2.0.11 (Kay SR11). 2018-10-15 12:00:39 +02:00
Mark Paluch
6618fc0960 DATAREDIS-867 - Prepare 2.0.11 (Kay SR11). 2018-10-15 11:59:40 +02:00
Mark Paluch
a554f9665a DATAREDIS-867 - Updated changelog. 2018-10-15 11:59:37 +02:00
Mark Paluch
b3af6cb0b1 DATAREDIS-871 - Updated changelog. 2018-10-15 11:37:29 +02:00
Mark Paluch
ce99f5f6b1 DATAREDIS-861 - Updated changelog. 2018-09-21 08:13:18 -04:00
Mark Paluch
5bbe481ef2 DATAREDIS-854 - After release cleanups. 2018-09-10 13:52:28 +02:00
Mark Paluch
c15d6a7723 DATAREDIS-854 - Prepare next development iteration. 2018-09-10 13:52:26 +02:00
Mark Paluch
3e39b4c335 DATAREDIS-854 - Release version 2.0.10 (Kay SR10). 2018-09-10 12:52:18 +02:00
Mark Paluch
bdfaff5901 DATAREDIS-854 - Prepare 2.0.10 (Kay SR10). 2018-09-10 12:51:27 +02:00
Mark Paluch
7f956b9002 DATAREDIS-854 - Updated changelog. 2018-09-10 12:51:25 +02:00
Mark Paluch
8cad79774d DATAREDIS-856 - Updated changelog. 2018-09-10 10:20:59 +02:00
Mark Paluch
d39c124d99 DATAREDIS-862 - Document that Redis Repositories do not work with transactions.
Original pull request: #354.
2018-09-04 10:40:15 +02:00
Mark Paluch
4f53638316 DATAREDIS-741 - Polishing.
Outline entity declaration. Fix indentation and typos.

Original pull request: #354.
2018-09-04 10:40:15 +02:00
Christoph Strobl
092e608083 DATAREDIS-741 - Improve repository operation documentation.
Original pull request: #354.
2018-09-04 10:40:15 +02:00
Oliver Gierke
54ccb64601 DATAREDIS-853 - Updated changelog. 2018-08-20 11:08:00 +02:00
Mark Paluch
bc6ed23a41 DATAREDIS-844 - Updated changelog. 2018-07-27 11:45:26 +02:00
Mark Paluch
8305c70d82 DATAREDIS-845 - After release cleanups. 2018-07-26 15:23:25 +02:00
Mark Paluch
6b15716a40 DATAREDIS-845 - Prepare next development iteration. 2018-07-26 15:23:23 +02:00
Mark Paluch
294a2ce8c1 DATAREDIS-845 - Release version 2.0.9 (Kay SR9). 2018-07-26 14:44:01 +02:00
Mark Paluch
e124247e0d DATAREDIS-845 - Prepare 2.0.9 (Kay SR9). 2018-07-26 14:43:06 +02:00
Mark Paluch
0f430e7d52 DATAREDIS-845 - Updated changelog. 2018-07-26 14:43:04 +02:00
Mark Paluch
eefba420af DATAREDIS-836 - Updated changelog. 2018-07-26 14:03:22 +02:00
Mark Paluch
c17f886555 DATAREDIS-843 - Polishing.
Improve test stability to not concurrently create atomic counter instances.
2018-07-24 16:25:44 +02:00
Mark Paluch
cafb17a6a5 DATAREDIS-852 - Polishing.
Refactor lower/upper bound retrieval into LettuceConverters for a consistent lower/upper boundary return value. Use minus one (-1) as the upper bound index to always retrieve the last element if the upper boundary is not bounded.

Original pull request: #353.
2018-07-24 15:45:50 +02:00
michele
7d595ab7e4 DATAREDIS-852 - Return always a lower/upper bound range index using Range.Bound.unbounded() with Lettuce.
We now return in List, String, and ZSet commands a lower/upper bound range index to prevent NullPointerException. Previously, unbounded ranges could render null values that were attempted to cast to primitives.

Original pull request: #353.
2018-07-24 15:37:38 +02:00
Christoph Strobl
578432ab5f DATAREDIS-843 - Polishing.
Remove usage of deprecated methods, enable ignored test and move to AssertJ.

Original Pull Request: #349
2018-07-12 10:55:45 +02:00
Mark Paluch
047f7ea526 DATAREDIS-843 - Polishing.
Remove unnecessary unboxing and final keywords from arguments in method signatures.

Original Pull Request: #349
2018-07-12 10:55:38 +02:00
Mark Paluch
00c6834212 DATAREDIS-843 - Adapt compare-and-set to changed transaction rollback response.
We now consider a transactional rollback that returns an empty EXEC result as rollback for the CAS (compare-and-set) operation. Previously, we checked only that the response of EXEC is not null. A rollback returns an empty list which was previously considered a successful CAS operation.

The code for CAS is now extracted to CompareAndSet and is reused from RedisAtomic implementations.

Original Pull Request: #349
2018-07-12 10:55:29 +02:00
jsajadi
a528476efc DATAREDIS-850 - Fix assertion for expireTimeout in ReactiveStringCommands.pSetEx(…).
We now correctly assert the expireTimeout parameter.

Original pull request: #351.
2018-07-09 09:43:07 +02:00
Mark Paluch
95232e8e73 DATAREDIS-829 - After release cleanups. 2018-06-13 21:24:35 +02:00
Mark Paluch
d57a73e249 DATAREDIS-829 - Prepare next development iteration. 2018-06-13 21:24:34 +02:00