Commit Graph

1492 Commits

Author SHA1 Message Date
Mark Paluch
458dbe7328 DATAREDIS-758 - After release cleanups. 2018-04-04 14:58:04 +02:00
Mark Paluch
96b18a59b2 DATAREDIS-758 - Prepare next development iteration. 2018-04-04 14:58:03 +02:00
Mark Paluch
73a074c690 DATAREDIS-758 - Release version 1.8.11 (Ingalls SR11). 2018-04-04 14:21:29 +02:00
Mark Paluch
0e1b66cfa5 DATAREDIS-758 - Prepare 1.8.11 (Ingalls SR11). 2018-04-04 14:20:47 +02:00
Mark Paluch
762e7e1c71 DATAREDIS-758 - Updated changelog. 2018-04-04 14:20:45 +02:00
Oliver Gierke
885bcba014 DATAREDIS-798 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:43:11 +02:00
Mark Paluch
8d932cb8e8 DATAREDIS-789 - Polishing.
Remove trailing whitespaces.

Original pull request: #324.
2018-03-21 16:23:44 +01:00
Jiahe Cai (佳何 蔡)
47ceb66dfa DATAREDIS-789 - Fixed Lua syntax error in reference documentation.
Original pull request: #324.
2018-03-21 16:23:15 +01:00
Christoph Strobl
ab5375802e DATAREDIS-790 - Polishing.
Add unit tests.

Original Pull Request: #291.
Original ticket: DATAREDIS-714.
2018-03-15 10:30:58 +01:00
Mark Paluch
99b18c4ca5 DATAREDIS-790 - Use Jedis API for database selection.
We now rely more on Jedis to select the appropriate Redis database and we no longer select the database when opening/closing a connection. Previously, we always reset the database if a database index greater zero was configured.
A properly configured Jedis pool ensures that the appropriate database is selected even if the database was selected during connection interaction.

Relying on Jedis reduces the number of issued SELECT commands and improves that way overall performance when executing commands via the Template API.

Original Pull Request: #291.
Original ticket: DATAREDIS-714.
2018-03-15 10:29:24 +01:00
Mark Paluch
f10418f526 DATAREDIS-780 - Update guidelines for serialization usage. 2018-03-06 14:10:38 +01:00
Mark Paluch
c033ec2d94 DATAREDIS-774 - Updated changelog. 2018-02-28 11:17:41 +01:00
Mark Paluch
2d434b33d6 DATAREDIS-760 - Updated changelog. 2018-02-19 20:30:10 +01:00
Mark Paluch
0267caffe3 DATAREDIS-764 - Fix code quotation and mention default serializers.
Original Pull Request: #305
2018-02-16 13:44:21 +01:00
Christoph Strobl
90c86a533a DATAREDIS-768 - Polishing.
Added test with decimal and date map keys to verify those are flattened out correctly using the converters registered and updated documentation to point out limitation of map keys to simple types.

Original Pull Request: #312
2018-02-16 13:00:41 +01:00
Mark Paluch
0fd0c8c213 DATAREDIS-768 - Consider map key type in MappingRedisConverter.readMap…(…).
We now consider the key type when reading a map from a Redis Hash. Previously, map keys were read as string while a map could declare numeric keys.

Original Pull Request: #312
2018-02-16 11:17:40 +01:00
Mark Paluch
5268549710 DATAREDIS-673 - Prevent false positive cache hits while Redis keys expire.
We now prevent false positive cache hits after checking for key presence and the Redis key gets removed before fetching its value.
This can happen if we check positively for presence but the key expires (TTL) or gets removed before the GET call is able to fetch the value.

Previously, we returned a RedisCacheElement wrapping null without regard to whether the cache is able to store/return null values. We now inspect the returned value for presence to eagerly return a negative cache hit and to preserve cached null values.

Original Pull Request: #310
2018-02-12 08:37:25 +01:00
Christoph Strobl
a44bb10a6a DATAREDIS-710 - Updated changelog. 2018-02-06 11:14:01 +01:00
Mark Paluch
434b9e369d DATAREDIS-766 - Configure SSL usage in JedisConnectionFactory depending on JedisShardInfo.
We now enable/disable SSL usage when configuring JedisConnectionFactory with JedisShardInfo based on the configured SSL use in JedisShardInfo.

Original Pull Request: #308
2018-02-05 09:37:33 +01:00
Mark Paluch
404a66f437 DATAREDIS-765 - Enable pooling when configuring Jedis to use Redis Sentinel.
We now enable pool usage when configuring JedisConnectionFactory with RedisSentinelConfiguration to prevent accidental connections using the non-pooled standalone configuration. Jedis can operate with Sentinel only with pooling.

We also reject calls to disable pooling when JedisConnectionFactory is configured to use Sentinel.

Original Pull request: #307
2018-02-01 15:27:23 +01:00
Mark Paluch
c5eea4affd DATAREDIS-737 - Updated changelog. 2018-01-24 13:41:25 +01:00
Mark Paluch
f8f422f948 DATAREDIS-759 - Fix line endings to LF. 2018-01-24 13:04:01 +01:00
Mark Paluch
29bcdb55d4 DATAREDIS-736 - After release cleanups. 2018-01-24 12:20:14 +01:00
Mark Paluch
c6735d4f8e DATAREDIS-736 - Prepare next development iteration. 2018-01-24 12:20:14 +01:00
Mark Paluch
bbb305253e DATAREDIS-736 - Release version 1.8.10 (Ingalls SR10). 2018-01-24 12:20:14 +01:00
Mark Paluch
a776fe78df DATAREDIS-736 - Prepare 1.8.10 (Ingalls SR10). 2018-01-24 12:20:14 +01:00
Mark Paluch
dd8908afe2 DATAREDIS-736 - Updated changelog. 2018-01-24 12:20:11 +01:00
Christoph Strobl
9a74434917 DATAREDIS-756 - Polishing.
Visibility changes.

Original Pull Request: #303
2018-01-23 14:29:11 +01:00
Mark Paluch
f79d292142 DATAREDIS-756 - Order results of partitioned multi-key commands by positional keys.
We now order and assemble results of multi-key commands (e.g. MGET with cross-slot keys) that are executed on different nodes by positional keys to retain duplicate keys in the requested order and retain the server response.

Previously duplicate keys were treated as set of keys and the response didn't match the requested keys.

Original Pull Request: #303
2018-01-23 12:57:16 +01:00
Christoph Strobl
765a6d1cb0 DATAREDIS-744 - Polishing
Move binary lookup methods to ByteUtils, update license headers and restore altered tests by creating additional ones.

Original Pull Request: #298
2018-01-11 14:53:13 +01:00
Mark Paluch
c6ad238cea DATAREDIS-744 - Support Redis hashes with colon in their id.
We now support Redis hashes via Repository support that contain colon in their id. We're using colons to split a composite id string into keyspace and id parts. Previously, we partially rejected processing of id's that don't exactly match the number of parts delimited by colon. This caused leftovers in secondary indexes.

Original Pull Request: #298
2018-01-11 14:52:36 +01:00
Mark Paluch
8e481f484c DATAREDIS-738 - Align changelog layout with other modules.
Remove links to Jira Github branches. Fix letter casing.
2017-12-02 15:45:47 -08:00
Mark Paluch
dc98b3df34 DATAREDIS-723 - Updated changelog. 2017-11-27 16:43:45 +01:00
Mark Paluch
b2e950c372 DATAREDIS-717 - After release cleanups. 2017-11-27 15:56:40 +01:00
Mark Paluch
0958ae131b DATAREDIS-717 - Prepare next development iteration. 2017-11-27 15:56:38 +01:00
Mark Paluch
9643ef8f02 DATAREDIS-717 - Release version 1.8.9 (Ingalls SR9). 2017-11-27 15:17:06 +01:00
Mark Paluch
832a8ecd93 DATAREDIS-717 - Prepare 1.8.9 (Ingalls SR9). 2017-11-27 15:16:09 +01:00
Mark Paluch
0dfceb3c63 DATAREDIS-717 - Updated changelog. 2017-11-27 15:16:07 +01:00
Zhiwei Sun
f0b835ca2d DATAREDIS-733 - Fix typo in ValueOperations Javadoc link.
Original pull request: #269.
2017-11-16 14:48:52 +01:00
Oliver Gierke
583e47aad7 DATAREDIS-709 - Updated changelog. 2017-10-27 16:36:56 +02:00
Oliver Gierke
f27999a4c3 DATAREDIS-689 - After release cleanups. 2017-10-11 19:00:16 +02:00
Oliver Gierke
650e0e154a DATAREDIS-689 - Prepare next development iteration. 2017-10-11 19:00:12 +02:00
Oliver Gierke
b5eaecfb84 DATAREDIS-689 - Release version 1.8.8 (Ingalls SR8). 2017-10-11 16:42:43 +02:00
Oliver Gierke
f34a9daa3c DATAREDIS-689 - Prepare 1.8.8 (Ingalls SR8). 2017-10-11 16:41:09 +02:00
Oliver Gierke
ff9a9438df DATAREDIS-689 - Updated changelog. 2017-10-11 16:41:04 +02:00
Mark Paluch
3c3d98d779 DATAREDIS-691 - Updated changelog. 2017-10-02 11:41:39 +02:00
Christoph Strobl
cbd9dad96f DATAREDIS-603 - Polishing.
Fix erroneous test setup.

Original Pull Request: #275
2017-09-30 10:42:47 +02:00
Mark Paluch
06c37880f7 DATAREDIS-603 - Fall back to RedisSystemException for non translateable exceptions during cluster execution.
We now use a fallback exception translation strategy in JedisClusterConnection to map all non-mapped exceptions to RedisSystemException. This change prevents null pointer exceptions caused by potentially throwing null.

Original Pull Request: #275
2017-09-30 10:42:10 +02:00
Oliver Gierke
2dd172e771 DATAREDIS-671 - Updated changelog. 2017-09-11 17:42:50 +02:00
Mark Paluch
94787c2cbb DATAREDIS-672 - After release cleanups. 2017-09-11 12:23:36 +02:00