Commit Graph

1766 Commits

Author SHA1 Message Date
Mark Paluch
58b8b490bc DATAREDIS-913 - Delete multiple keys through ReactiveRedisTemplate.delete(Publisher) and unlink(Publisher).
We now delete all keys that are emitted by the source publisher when invoking delete(Publisher) and unlink(Publisher). Both methods split incoming keys into chunks of 128 keys to keep a balance between latency and the issued command count.

Previously, delete(Publisher) and unlink(Publisher) only deleted the first key.

Original Pull Request: #379
2018-12-20 10:01:56 +01:00
Mark Paluch
e31b32eb5c DATAREDIS-909 - Fix constructor creation of entities with collection-typed properties.
We now consider the property type in value conversion for constructor arguments to provide the appropriate value type. Previously, we considered the component type which converted a Collection<T> to a single T that caused downstream ClassCastException.

Original Pull Request: #378
2018-12-20 10:01:39 +01:00
Christoph Strobl
6d43ddf6d0 DATAREDIS-906 - Updated changelog. 2018-12-11 11:43:21 +01:00
chao chang
8f835b18e1 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:47:52 +01:00
Mark Paluch
0d2a14f0c0 DATAREDIS-885 - After release cleanups. 2018-11-27 14:23:35 +01:00
Mark Paluch
816a3ccd70 DATAREDIS-885 - Prepare next development iteration. 2018-11-27 14:23:34 +01:00
Mark Paluch
6242a6c13c DATAREDIS-885 - Release version 2.1.3 (Lovelace SR3). 2018-11-27 13:43:25 +01:00
Mark Paluch
9470e2bc26 DATAREDIS-885 - Prepare 2.1.3 (Lovelace SR3). 2018-11-27 13:42:18 +01:00
Mark Paluch
1038a81f64 DATAREDIS-885 - Updated changelog. 2018-11-27 13:42:15 +01:00
Mark Paluch
387f0404f4 DATAREDIS-879 - Updated changelog. 2018-11-27 12:36:52 +01:00
Mark Paluch
86a81643b0 DATAREDIS-880 - Updated changelog. 2018-11-27 11:27:26 +01:00
Mark Paluch
8fb1b6c683 DATAREDIS-897 - Upgrade to Lettuce 5.1.3. 2018-11-26 16:52:06 +01:00
Mark Paluch
b10cdf400c DATAREDIS-890 - Polishing.
Add author tags. Use try-with-resources to close Jedis.

Original pull request: #373.
2018-11-23 10:17:47 +01:00
ChenGuanqun
4a4a2d6f36 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:47 +01:00
Mark Paluch
93b5abad3d DATAREDIS-878 - After release cleanups. 2018-10-29 13:59:18 +01:00
Mark Paluch
d4a285f042 DATAREDIS-878 - Prepare next development iteration. 2018-10-29 13:59:16 +01:00
Mark Paluch
470353f989 DATAREDIS-878 - Release version 2.1.2 (Lovelace SR2). 2018-10-29 12:53:52 +01:00
Mark Paluch
69e77bf790 DATAREDIS-878 - Prepare 2.1.2 (Lovelace SR2). 2018-10-29 12:52:55 +01:00
Mark Paluch
815141410a DATAREDIS-878 - Updated changelog. 2018-10-29 12:52:52 +01:00
Mark Paluch
40ec0f68d2 DATAREDIS-884 - Upgrade to Lettuce 5.1.2.RELEASE. 2018-10-29 08:22:42 +01:00
Mark Paluch
7e5d458387 DATAREDIS-875 - Polishing.
Reformat code.

Original pull request: #368.
2018-10-25 15:09:59 +02:00
Christoph Strobl
a547188fc3 DATAREDIS-875 - Omit MappingRedisConverter type hint for primitive type properties.
We now additionally check if the target property is a primitive type and do no longer add the type hint if so.

Original pull request: #368.
2018-10-25 15:09:59 +02:00
Mark Paluch
598875df75 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:31:13 +02:00
ningwei
e6c26ad93e 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:31:11 +02:00
Mark Paluch
11aa290ae4 DATAREDIS-874 - Polishing.
Align Javadoc tonality across RedisAtomic… types.
2018-10-16 12:06:32 +02:00
Mark Paluch
16e890a85e DATAREDIS-866 - Updated changelog. 2018-10-15 14:19:07 +02:00
Mark Paluch
5aa02ce538 DATAREDIS-867 - Updated changelog. 2018-10-15 12:46:31 +02:00
Mark Paluch
e0ff372a3a DATAREDIS-871 - After release cleanups. 2018-10-15 11:12:14 +02:00
Mark Paluch
c67304e0b1 DATAREDIS-871 - Prepare next development iteration. 2018-10-15 11:12:13 +02:00
Mark Paluch
dd34d2b4e4 DATAREDIS-871 - Release version 2.1.1 (Lovelace SR1). 2018-10-15 10:42:05 +02:00
Mark Paluch
d6dc161b7e DATAREDIS-871 - Prepare 2.1.1 (Lovelace SR1). 2018-10-15 10:40:57 +02:00
Mark Paluch
afff25eede DATAREDIS-871 - Updated changelog. 2018-10-15 10:40:55 +02:00
Mark Paluch
c43264d21f DATAREDIS-861 - After release cleanups. 2018-09-21 07:46:17 -04:00
Mark Paluch
1cffa182a6 DATAREDIS-861 - Prepare next development iteration. 2018-09-21 07:46:16 -04:00
Mark Paluch
17b5181f5c DATAREDIS-861 - Release version 2.1 GA (Lovelace). 2018-09-21 07:08:39 -04:00
Mark Paluch
426bd11bef DATAREDIS-861 - Prepare 2.1 GA (Lovelace). 2018-09-21 07:07:51 -04:00
Mark Paluch
f3e7995ec4 DATAREDIS-861 - Updated changelog. 2018-09-21 07:07:49 -04:00
Christoph Strobl
45cbb21849 DATAREDIS-869 - Polishing.
Rename parameters and add methods with new nomenclature.

Original Pull Request: #355
2018-09-20 10:49:20 +02:00
Mark Paluch
169b1bd174 DATAREDIS-869 - Adapt to nomenclature change about Master/Replica.
We now renamed RedisStaticMasterSlaveConfiguration and StaticMasterSlaveConnectionProvider to RedisStaticMasterReplicaConfiguration respective StaticMasterReplicaConnectionProvider to reflect changes in Redis nomenclature regarding replication.

Original Pull Request: #355
2018-09-20 10:48:46 +02:00
Mark Paluch
a7352f5612 DATAREDIS-869 - Use changed nomenclature in documentation and readme.
Original Pull Request: #355
2018-09-20 10:48:17 +02:00
Christoph Strobl
e253d49f4a DATAREDIS-870 - Upgrade to Lettuce 5.1.0.RELEASE 2018-09-20 10:46:59 +02:00
Mark Paluch
b7545e50e6 DATAREDIS-868 - Include documentation about Repository Object Mapping Fundamentals.
Related ticket: DATACMNS-1374.
2018-09-18 13:22:32 +02:00
Mark Paluch
1ff6661f13 DATAREDIS-854 - Updated changelog. 2018-09-10 14:15:52 +02:00
Mark Paluch
dcb373b70e DATAREDIS-856 - Updated changelog. 2018-09-10 10:20:58 +02:00
Mark Paluch
fd03df48e1 DATAREDIS-862 - Document that Redis Repositories do not work with transactions.
Original pull request: #354.
2018-09-04 10:40:01 +02:00
Mark Paluch
0366154754 DATAREDIS-741 - Polishing.
Outline entity declaration. Fix indentation and typos.

Original pull request: #354.
2018-09-04 10:39:59 +02:00
Christoph Strobl
aaf032445b DATAREDIS-741 - Improve repository operation documentation.
Original pull request: #354.
2018-09-04 10:39:54 +02:00
Mark Paluch
5688d56eab DATAREDIS-708 - Move BGREWRITEAOF and BGSAVE tests to unit tests.
Run tests against Lettuce connection mocks to not interfere with running Redis background processes.

Original Pull Request: #347
2018-08-28 09:57:54 +02:00
Oliver Gierke
1289323f63 DATAREDIS-853 - After release cleanups. 2018-08-20 10:56:53 +02:00
Oliver Gierke
c0babf2d1b DATAREDIS-853 - Prepare next development iteration. 2018-08-20 10:56:52 +02:00