Commit Graph

1146 Commits

Author SHA1 Message Date
Mark Paluch
e7b3b345ee DATAREDIS-1218 - Prepare 2.3.5 (Neumann SR5). 2020-10-28 14:34:16 +01:00
Mark Paluch
5231a42356 DATAREDIS-1218 - Updated changelog. 2020-10-28 14:34:11 +01:00
Mark Paluch
2e6ad405ba DATAREDIS-1217 - Updated changelog. 2020-10-28 12:15:08 +01:00
Mark Paluch
72b46d9f29 DATAREDIS-1236 - Updated changelog. 2020-10-28 11:32:35 +01:00
Mark Paluch
0d9ade09c5 DATAREDIS-1212 - Polishing.
Remove overly pessimistic null checks. Use constant when channel/body are empty to avoid allocations. Remove superfluous final keywords.

Original pull request: #559.
2020-10-16 13:50:22 +02:00
Thomas Heigl
f5663ed807 DATAREDIS-1212 - Remove redundant null-check in RedisKeyValueAdapter.
Original pull request: #559.
2020-10-16 13:50:07 +02:00
Christoph Strobl
e6c2e7ddda DATAREDIS-1219 - Updated changelog. 2020-10-14 14:51:46 +02:00
Mark Paluch
070df5b25e DATAREDIS-1231 - Polishing.
Add author tag.

Fix typos in test method names.

Original pull request: #568.
2020-10-13 16:16:25 +02:00
jot.zhao
930369fb9e DATAREDIS-1231 - Use Jedis command routing if multiple BRPOP keys map to a single slot.
Original pull request: #568.
2020-10-13 16:16:25 +02:00
Mark Paluch
ad06aa2897 DATAREDIS-1225 - Polishing.
Extend docs copyright to 2020.

Original pull request: #541.
2020-10-05 14:45:52 +02:00
Jay Bryant
b5ed5274ac DATAREDIS-1225 - Wording changes.
Removed the language of oppression and violence
and replaced it with more neutral language.

Note that problematic words in the code have
to remain in the docs until the code changes.

Original pull request: #541.
2020-10-05 14:45:52 +02:00
Yanming Zhou
565f83c627 DATAREDIS-1225 - Fix typos in Javadoc.
RedisStandaloneConfiguration should be RedisSentinelConfiguration.

Original pull request: #531.
2020-10-05 14:42:50 +02:00
Yanis Batura
73b7a63f1c DATAREDIS-1225 - Fix typos in reference documentation.
Original pull request: #560.
2020-10-05 14:13:19 +02:00
Christoph Strobl
1866415d56 DATAREDIS-1214 - Fix null return value of GEODIST command.
Original pull request: #565.
2020-10-05 13:59:48 +02:00
anshlykov
f0d33077b6 DATAREDIS-1222 - Fix limit parameter in DefaultStringRedisConnection#zRangeByLex(String,Range,Limit)
Original Pull Request: #564
2020-09-29 07:54:29 +02:00
Mark Paluch
ca2403b99a DATAREDIS-1201 - Updated changelog. 2020-09-16 14:12:10 +02:00
Mark Paluch
6336d47fd6 DATAREDIS-1202 - Prepare 2.3.4 (Neumann SR4). 2020-09-16 11:42:47 +02:00
Mark Paluch
43bc339536 DATAREDIS-1202 - Updated changelog. 2020-09-16 11:42:42 +02:00
Mark Paluch
9f8f97723f DATAREDIS-1187 - Updated changelog. 2020-09-16 11:20:13 +02:00
Mark Paluch
d95b90f0ff DATAREDIS-1186 - Updated changelog. 2020-09-16 10:39:04 +02:00
Christoph Strobl
ac16d4bb3f DATAREDIS-1207 - Fix LettuceStreamCommands.xPending Range conversion..
Original Pull Request: #556
2020-09-03 10:27:19 +02:00
Dejan Jankov
df2b8b175c DATAREDIS-1207 - Fix LettuceStreamCommands.xRevRange Range conversion.
LettuceStreamCommands.xRevRange converts Ranges with a StringCodec that produces Boundary<ByteBuffer>, while Lettuce expects the range's Boundary to include strings. The conversion worked well only in cases where the Range was unbounded (- or +), and failed with ClassCastException on the consuming site for other cases.

Original pull request: #556
2020-09-03 10:26:57 +02:00
Mark Paluch
e51c377001 DATAREDIS-1188 - Prepare 2.3.3 (Neumann SR3). 2020-08-12 13:07:22 +02:00
Mark Paluch
963be32994 DATAREDIS-1188 - Updated changelog. 2020-08-12 13:07:16 +02:00
Mark Paluch
f4dd896d82 DATAREDIS-1174 - Updated changelog. 2020-08-12 12:01:26 +02:00
Mark Paluch
5c6b0c3fb3 DATAREDIS-1190 - Cluster rename now correctly overwrites existing keys.
rename(…) behavior in cluster-mode is now aligned with standalone Redis behavior that overwrites the target key if it already exists and the renamed key uses a different slot. Previously, the underlying restore command was called without the replace option which caused BUSYKEY failures.

Original Pull Request: #555
2020-08-12 09:49:48 +02:00
Mark Paluch
e987f33248 DATAREDIS-1199 - Polishing.
Improve test synchronization.
2020-08-12 09:14:17 +02:00
Mark Paluch
e68a383045 DATAREDIS-1195 - Polishing.
Simplify Expiration.from(…) construction.

Original pull request: #553.
2020-07-31 09:08:33 +02:00
Andre Prata
c4a320cc3c DATAREDIS-1195 - Make putIfAbsent atomic when TTL is set.
Original pull request: #553.
2020-07-31 09:08:31 +02:00
Mark Paluch
406e030d92 DATAREDIS-1191 - Guard calls to RedisConverter.read(…) to avoid empty objects.
We now check if the RedisBucket is empty to avoid empty objects being materialized from EntityReader.
2020-07-28 14:42:59 +02:00
Mark Paluch
cd64b5fade DATAREDIS-1189 - Consistently translate Lettuce connection exceptions.
We now translate consistently connection/pooling exceptions in LettuceConnectionFactory by wrapping LettuceConnectionProvider with a variant that considers exception translation.
2020-07-28 14:19:00 +02:00
Mark Paluch
dd77c1b8ec DATAREDIS-1168 - Prepare 2.3.2 (Neumann SR2). 2020-07-22 10:20:45 +02:00
Mark Paluch
fb9cd78e3c DATAREDIS-1168 - Updated changelog. 2020-07-22 10:20:40 +02:00
Mark Paluch
35dc91fdf1 DATAREDIS-1167 - Updated changelog. 2020-07-22 10:08:50 +02:00
Mark Paluch
019fbbf76e DATAREDIS-1166 - Updated changelog. 2020-07-22 09:44:35 +02:00
Mark Paluch
164bdc97fb DATAREDIS-1173 - Polishing.
Add Override annotations and Javadoc. Reformat test.

Original Pull Request: #549
2020-07-21 14:57:57 +02:00
Mark Paluch
27c3d0962d DATAREDIS-1173 - Correctly unsubscribe from patterns/channels through LettuceSubscription.
doPUnsubscribe(…) and doUnsubscribe(…) now consider the all flag to unsubscribe from all subscribed patterns/channels. Previously, both methods didn't consider all and were invoked with an empty byte array which unsubscribed from an empty pattern/channel name and left subscriptions active.

Original Pull Request: #549
2020-07-21 14:57:46 +02:00
Sarah
aa20c4ede3 DATAREDIS-1173 - Fix channel unsubscribe on close.
Original Pull Request: #540
2020-07-21 14:57:35 +02:00
Mark Paluch
fbccc05d5b DATAREDIS-1172 - Polishing.
Suppress rawtypes/unchecked warnings. Use static imports for mockito.

Original pull request: #542.
2020-07-15 11:58:17 +02:00
Eddie McDaniel
6152dfa3c7 DATAREDIS-1172 - Fix parameter type of hash value serializer in StreamReceiver.
Original pull request: #542.
2020-07-15 11:58:04 +02:00
Mark Paluch
f401be7e7a DATAREDIS-1179 - Polishing.
Reorder methods. Make MappingRedisConverter(RedisMappingContext) public. Tweak docs wording.

Original pull request: #548.
2020-07-15 11:16:42 +02:00
Christoph Strobl
6c633947c1 DATAREDIS-1179 - Polishing.
Transition Tests to Junit Jupiter.
Fix C/P error in callout within reference documentation.

Original pull request: #548.
2020-07-15 10:51:28 +02:00
Christoph Strobl
2847e5e37b DATAREDIS-1179 - Allow reuse of RedisConverter in ObjectHashMapper.
Original pull request: #548.
2020-07-15 10:51:28 +02:00
Mark Paluch
6387bfd029 DATAREDIS-1175 - Polishing.
Reformat code. Add missing nullability annotations and enforce non-null values to prevent potential null dereference.

Original pull request: #546.
2020-07-15 09:34:27 +02:00
Christoph Strobl
e1f9c4552c DATAREDIS-1175 - Allow direct mapping of Collection like structures like java.util.List via MappingRedisConverter.
It is now possible to hand a plain list to the converter that is then converted into a hash structure using index numbers as keys.

Original pull request: #546.
2020-07-15 09:34:15 +02:00
Christoph Strobl
6a29e0802e DATAREDIS-1178 - Pass ScanOptions on to connection.sScan when using ReactiveSetOperations. 2020-07-07 08:23:08 +02:00
Mark Paluch
da89c83932 DATAREDIS-1147 - Updated changelog. 2020-06-25 12:00:23 +02:00
Christoph Strobl
cf3846c2bd DATAREDIS-1150 - Polishing
Defer cluster topology resolution, update Javadoc and add tests.

Original Pull Request: #533
2020-06-17 10:11:04 +02:00
Mark Paluch
4760feb33b DATAREDIS-1150 - Polishing.
Reorder implementation methods according to interface order.

original Pull Request: #533
2020-06-17 10:10:53 +02:00
Mark Paluch
e7d6909024 DATAREDIS-1150 - Add ReactiveRedisClusterCommands.
We now provide Redis Cluster commands (CLUSTER INFO, CLUSTER NODES, …) exposed through a reactive API.

Original Pull Request: #533
2020-06-17 10:10:41 +02:00