Commit Graph

1634 Commits

Author SHA1 Message Date
Mark Paluch
f3f7a0545b DATAREDIS-840 - Catch unsubscribe exceptions when stopping RedisMessageListenerContainer.
We now catch exceptions that may occur during unsubscription from the subscribed patterns/channels.
Previously, RuntimeExceptions were not caught and prevented a fast shutdown of the ApplicationContext.

Original Pull Request: #346
2018-06-12 10:36:14 +02:00
Mark Paluch
aae43892fe DATAREDIS-842 - Polishing.
Reformat code. Add author tags. Add integration test.

Original pull request: #345.
2018-06-06 12:44:25 +02:00
Ruben Cervilla
0b53b8b53a DATAREDIS-842 - Consider database index when connecting to Redis using Redis Sentinel.
Original pull request: #345.
2018-06-06 12:26:34 +02:00
Christoph Strobl
10cfc5bf48 DATAREDIS-830 - Polishing.
Move Subscription initialization and update comments.

Original Pull Request: #341
2018-05-22 12:40:08 +02:00
Mark Paluch
ad602c6a8f DATAREDIS-830 - Polishing.
Reformat code. Add override-comments. Encapsulate connection in LettuceSubscription. Fix typos.

Original Pull Request: #341
2018-05-22 12:40:00 +02:00
Mark Paluch
96d888b8fa DATAREDIS-830 - Release Pub/Sub connection when closing LettuceSubscription.
We now release the native connection back to the connection provider when LettuceSubscription is closed. Previously, we just closed the connection which interfered with pooling as pooling connection providers still had a reference on the connection.

Original Pull Request: #341
2018-05-22 12:39:46 +02:00
Christoph Strobl
9f01270dd5 DATAREDIS-812 - Updated changelog. 2018-05-17 10:32:59 +02:00
Jay Bryant
7137cba73e DATAREDIS-832 - Added a cover page for epub output.
I added a cover page for the epub output, now that the Spring data reference guides will
have epub output (through a commit against spring-data-build).

Original pull request: #339.
2018-05-11 15:59:12 +02:00
Mark Paluch
32839b2f13 DATAREDIS-806 - After release cleanups. 2018-05-08 15:04:28 +02:00
Mark Paluch
62b1652613 DATAREDIS-806 - Prepare next development iteration. 2018-05-08 15:04:27 +02:00
Mark Paluch
76b86325b0 DATAREDIS-806 - Release version 2.0.7 (Kay SR7). 2018-05-08 14:15:28 +02:00
Mark Paluch
adc203dac5 DATAREDIS-806 - Prepare 2.0.7 (Kay SR7). 2018-05-08 14:14:32 +02:00
Mark Paluch
5fcfc33036 DATAREDIS-806 - Updated changelog. 2018-05-08 14:14:29 +02:00
Mark Paluch
52bbcecc26 DATAREDIS-827 - Upgrade to Lettuce 5.0.4.RELEASE. 2018-05-08 12:32:25 +02:00
Mark Paluch
e2a1003cdf DATAREDIS-805 - Updated changelog. 2018-05-08 12:22:53 +02:00
Christoph Strobl
912926666a DATAREDIS-824 - Polishing.
Split and add integration tests.

Original Pull Request: #340
2018-05-07 07:42:49 +02:00
Yin Jifeng
9442f71738 DATAREDIS-824 - Fix potential NPE in DefaultReactiveHashOperations when deserializing values.
Avoid ByteBuffer creation for null values indicating absent keys in hash.

Original Pull Request: #340
2018-05-07 07:42:35 +02:00
Mark Paluch
7778fbf7e0 DATAREDIS-825 - Polishing.
Fix typos. Remove redundant mention of JDK requirements.

Original pull request: #331.
2018-05-04 11:40:30 +02:00
Jay Bryant
45d721d386 DATAREDIS-825 - Full editing pass for Spring Data Redis.
I edited for spelling, punctuation, grammar, clarity, and cross-references. I also pulled one piece of content that was being reused into its own file, so that I could include it rather than repeat it.

Original pull request: #331.
2018-05-04 11:11:14 +02:00
佳何 蔡
2b4f249ef2 DATAREDIS-819 - Fix Javadoc in ReactiveValueOperations.
Original Pull Request: #336
2018-05-03 14:03:30 +02:00
Mark Paluch
b5fe8f0acd DATAREDIS-822 - Consider argument range in RedisCommand min/max arguments specification.
We now consider max argument specifications as upper bound and no longer as the exact number of required arguments.

Original pull request: #335.
2018-05-02 14:49:14 +02:00
Mark Paluch
e9634fd010 DATAREDIS-770 - Updated changelog. 2018-04-13 15:11:33 +02:00
Mark Paluch
69616c6fab DATAREDIS-623 - Polishing.
Add author tags. Adapt to API changes. Slightly tweak test.

Original pull request: #330.
2018-04-12 10:10:41 +02:00
Zhongning Fan
fece3fcd57 DATAREDIS-623 - Fix RedisQueryEngine.count(…) with proper SINTER/SUNION usage.
Backport of RedisQueryEngine#count(RedisOperationChain, Serializable) fix using multiple indexed keys.

Related ticket: DATAREDIS-605.
Original pull request: #330.
2018-04-12 10:00:38 +02:00
Yanming Zhou
97340688b5 DATAREDIS-809 - Fix Javadoc.
Original pull request: #328.
2018-04-09 15:31:09 +02:00
Mark Paluch
0ab5d4b9a5 DATAREDIS-601 - Polishing.
Extend reference documentation with EnableTransactionManagement. Extend documentation copyright year range.

Original pull request: #327.
2018-04-09 14:25:49 +02:00
Yanming Zhou
834dc2d818 DATAREDIS-601 - Fix linebreak in reference documentation.
Original pull request: #327.
2018-04-09 14:23:01 +02:00
Mark Paluch
627e33b404 DATAREDIS-808 - Limit repository test configuration filters.
We now only include repository interfaces required for the test and avoid a broad scanning that also considers CDI repositories from its subpackage.
2018-04-09 10:23:35 +02:00
Mark Paluch
437ea733be DATAREDIS-803 - Polishing.
Remove DefaultRedisMapEntry as it's no longer required. Simplify test to unit test to reduce test scope and test run time.

Original pull request: #326.
2018-04-09 09:31:15 +02:00
Christian Bühler
a018c1426b DATAREDIS-803 - Retrieve DefaultRedisMap.entrySet() via HGETALL.
Redis has a limitation of 1024 * 1024 parameters]() for bulk operations.

To receive more than 1024 * 1024 - 1 entries with entrySet(), we can directly use the HGETALL command instead of first fetching the keys with HKEYS and then fetching the values with HMGET.

See also: https://github.com/antirez/redis/blob/4.0.9/src/networking.c#L1200
Original pull request: #326.
2018-04-09 09:31:15 +02:00
Mark Paluch
e170091979 DATAREDIS-776 - After release cleanups. 2018-04-04 16:42:34 +02:00
Mark Paluch
a2f1f1574a DATAREDIS-776 - Prepare next development iteration. 2018-04-04 16:42:32 +02:00
Mark Paluch
c378f84e99 DATAREDIS-776 - Release version 2.0.6 (Kay SR6). 2018-04-04 15:53:23 +02:00
Mark Paluch
4c7545cea6 DATAREDIS-776 - Prepare 2.0.6 (Kay SR6). 2018-04-04 15:52:32 +02:00
Mark Paluch
a461433598 DATAREDIS-776 - Updated changelog. 2018-04-04 15:52:29 +02:00
Mark Paluch
233aaa83ea DATAREDIS-758 - Updated changelog. 2018-04-04 15:16:23 +02:00
Mark Paluch
670b61d671 DATAREDIS-791 - Polishing.
Migrate tests to use StepVerifier instead of block(). Simplify isUpsert() comparison.

Original Pull Request: #325
2018-04-03 10:49:46 +02:00
Mark Paluch
2d6a9d08ab DATAREDIS-791 - Disable ifValueNotExists() flag in ReactiveHashCommands.hMSet.
We now no longer set ifValueNotExists() in ReactiveHashCommands.hMSet to always upsert hash entries. Previously, we called HSETNX if hMSet was called with a single tuple which did not overwrite existing entries.

Align return value of hMSet to return always true as calling internally HSET returns 1 only on newly set hash fields and setting an existing field resulted previously in false.

Original Pull Request: #325
2018-04-03 10:49:28 +02:00
Mark Paluch
e2e01ae1b6 DATAREDIS-799 - Upgrade to Lettuce 5.0.3.RELEASE. 2018-03-29 09:45:52 +02:00
Oliver Gierke
af71bd32fc DATAREDIS-798 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:42:52 +02:00
Mark Paluch
614961471f DATAREDIS-792 - Polishing.
Use SettingsUtil to obtain hostname/port instead of constant values. Fix typo in test class name.
2018-03-23 10:55:39 +01:00
Mark Paluch
12aa79954e DATAREDIS-789 - Polishing.
Remove trailing whitespaces.

Original pull request: #324.
2018-03-21 16:23:00 +01:00
Jiahe Cai (佳何 蔡)
94a2964cf3 DATAREDIS-789 - Fixed Lua syntax error in reference documentation.
Original pull request: #324.
2018-03-21 16:23:00 +01:00
Jiahe Cai (佳何 蔡)
8d392429d7 DATAREDIS-783 - Fix typo in LettuceReactiveRedisConnection.
Original pull request: #321.
2018-03-14 10:23:26 +01:00
Mark Paluch
ed8ab27935 DATAREDIS-780 - Update guidelines for serialization usage. 2018-03-06 14:10:29 +01:00
Mark Paluch
f4721d7c49 DATAREDIS-774 - After release cleanups. 2018-02-28 10:43:35 +01:00
Mark Paluch
a4bcf20c7f DATAREDIS-774 - Prepare next development iteration. 2018-02-28 10:43:34 +01:00
Mark Paluch
d9906718d3 DATAREDIS-774 - Release version 2.0.5 (Kay SR5). 2018-02-28 10:14:58 +01:00
Mark Paluch
55682bd99e DATAREDIS-774 - Prepare 2.0.5 (Kay SR5). 2018-02-28 10:14:06 +01:00
Mark Paluch
b68afb4821 DATAREDIS-774 - Updated changelog. 2018-02-28 10:14:03 +01:00