Commit Graph

2845 Commits

Author SHA1 Message Date
Mark Paluch
6a1d7f8a06 Update deprecation description of JedisConnectionFactory.setDatabase(…).
Mention database index instead of client name.

Closes #2831
2024-01-18 11:01:14 +01:00
Mark Paluch
506314355d After release cleanups.
See #2809
2024-01-12 10:03:26 +01:00
Mark Paluch
73b8840a23 Prepare next development iteration.
See #2809
2024-01-12 10:03:24 +01:00
Mark Paluch
67a51d6ac1 Release version 3.1.8 (2023.0.8).
See #2809
2024-01-12 10:00:16 +01:00
Mark Paluch
a341f110b0 Prepare 3.1.8 (2023.0.8).
See #2809
2024-01-12 10:00:04 +01:00
Mark Paluch
c7aa065b18 Update Jedis documentation to reflect supporting Redis Streams.
Closes #2824
2024-01-09 09:19:33 +01:00
Mark Paluch
61be87a407 Extend license header copyright years to 2024.
See #2819
2024-01-02 10:58:59 +01:00
Mark Paluch
a914afd042 After release cleanups.
See #2776
2023-12-15 13:18:18 +01:00
Mark Paluch
9c973c706a Prepare next development iteration.
See #2776
2023-12-15 13:18:16 +01:00
Mark Paluch
0bd3660d48 Release version 3.1.7 (2023.0.7).
See #2776
2023-12-15 13:15:05 +01:00
Mark Paluch
be086318a2 Prepare 3.1.7 (2023.0.7).
See #2776
2023-12-15 13:14:52 +01:00
Mark Paluch
3d9e3c3860 Differentiate between initial exception handling, recovery and recovery after subscription.
We now differentiate exception handling regarding the recovery state. Initial listen fails if the connection is unavailable. Upon recovery after a preceeding subscription we now log the success to create a counterpart to our error logging.

Closes: #2782
Original Pull Request: #2808

# Conflicts:
#	src/main/java/org/springframework/data/redis/listener/RedisMessageListenerContainer.java
#	src/test/java/org/springframework/data/redis/listener/RedisMessageListenerContainerUnitTests.java
2023-12-15 11:12:41 +01:00
Mark Paluch
95b0bde613 Update CI properties.
See #2776
2023-12-14 08:50:13 +01:00
Mark Paluch
f62552b91c Upgrade to Maven Wrapper 3.9.6.
See #2804
2023-12-14 08:37:42 +01:00
Christoph Strobl
f68e8d4073 Add tests to verify symmetric usage of scan cursor id.
See: #2796
2023-12-13 14:56:09 +01:00
Mark Paluch
d58cca49c7 Use Long.parseUnsignedLong/toUnsignedString for SCAN cursor id parsing.
Redis uses an unsigned 64bit value for its cursor id which is now captured via parseUnsignedLong.

Closes: #2796
2023-12-13 14:55:53 +01:00
Mark Paluch
439cc3609f Polishing.
Fix Javadoc reference.

See #2776
2023-12-13 09:11:06 +01:00
Mark Paluch
5d07415dd5 Remove duplicate keys from RedisQueryEngine.
We now avoid duplicate keys if a key is found in two indices.

Closes #2799
2023-12-11 10:28:13 +01:00
Junghoon Ban
844d2365d6 Refine getRequiredAdapter()usage in RedisQueryEngine.
We now use getRequiredAdapter() instead of getAdapter() to enforce either an object or a proper exception.

Closes #2800
Original pull request: #2801
2023-12-11 10:13:13 +01:00
Mark Paluch
8c33759f3a Accept empty config values in the Lettuce connection wrapper.
Closes #2798
2023-12-08 14:57:06 +01:00
Mark Paluch
fb95f96992 Introduce property for Jenkins user and Artifactory server details.
Closes #2787
2023-11-27 09:22:19 +01:00
John Blum
8b577951a6 Polishing.
Rename asString(:Object) to toString(:Object) for consistency with toBytes(..).

Original pull request: #2774
2023-11-17 15:11:56 -08:00
Junghoon Ban
e151e70fdc Remove unnecessary method call in RedisKeyValueAdapter.
Closes #2774
2023-11-17 15:11:50 -08:00
Mark Paluch
6760a3afbe After release cleanups.
See #2736
2023-11-17 13:41:00 +01:00
Mark Paluch
8a8fef1888 Prepare next development iteration.
See #2736
2023-11-17 13:40:59 +01:00
Mark Paluch
2b627e3b6d Release version 3.1.6 (2023.0.6).
See #2736
2023-11-17 13:38:04 +01:00
Mark Paluch
d778dbd380 Prepare 3.1.6 (2023.0.6).
See #2736
2023-11-17 13:37:51 +01:00
Mark Paluch
a2147868c7 Upgrade to Lettuce 6.2.7.RELEASE.
Closes #2771
2023-11-15 11:15:57 +01:00
Mark Paluch
73ffaa5caa Update build from source section to reflect Makefile.
See #2766
2023-11-10 10:28:08 +01:00
Mark Paluch
56c0ee31ba Remove CI.adoc.
Remove outdated CI documentation as the docs are in our Jenkinsfile.

Closes #2767
2023-11-10 09:54:53 +01:00
Mark Paluch
a68f704a67 Polishing.
Use module name defaulting to determine module prefix.

Closes #2762
2023-11-06 11:05:49 +01:00
Junghoon Ban
532a011596 Polishing.
Use module identifier instead of constant.

Closes #2762
2023-11-06 10:55:38 +01:00
Mark Paluch
409d2a8b58 Polishing.
Tweak naming. Simplify converters by removing unused methods.

See #2754
2023-10-27 15:00:53 +02:00
Junghoon Ban
5dd43c1f59 Use pattern matching instead of type casting.
Closes #2754
2023-10-27 15:00:52 +02:00
John Blum
8fefea7dce Fix compilation failure in LettuceConnection.
Compilation failure was caused by a missing local variable declaration ('command', which was declared as 'redisCommand') on line 1036.

Closes #2756
2023-10-23 12:59:00 -07:00
John Blum
a0ddc0ec0f Safely add and register the MessageListener to Topic mapping.
Given addListener(:MessageListener, :Collection<Topic>) could be called concurrently from the addMessageListener(:MessageListener, Collection<Topic>) method by multiple Threads, and the RedisMessageListenerContainer Javadoc specifically states that it is safe to call the addMessageListener(..) method conurrently without any external synchronization, and the registeration (or mapping) of listener to Topics is a componund action, then a race condition is possible.

Closes #2755
2023-10-23 12:44:36 -07:00
John Blum
5778dec7b5 Apply consistent Exception variable names to all catch blocks.
We now consistently align with the core Spring Framework's use of 'ex' as the variable name for Exceptions handled in catch blocks, and 'ignore' for all Exceptions thrown, but ignored by framework code. Both 'ex' and 'ignore' were appropriately used based on the context and nautre of the Exception handler in the catch block.

Additionally, we use the 'expected' variable name for Exception thrown in tests where the thrown Exception is the expected outcome of the test case.

Only 1 exception exists to these name conventions, and that is 'nested', which was necessarily used in ScanCursor due to the nested try-catch blocks.

Applied consistent use of String.format(..) to Exception messages requiring formatting.

Formatted catch block according to source code formatting style.

Closes #2748
Original pull request: #2749
2023-10-19 09:38:19 +02:00
Mark Paluch
89229afe54 Polishing.
Add since tag. Reformat code.

See #2601
2023-10-19 09:32:36 +02:00
John Blum
c9b194c1bf After release cleanups.
See #2711
2023-10-13 08:09:34 -07:00
John Blum
727ff4f2f4 Prepare next development iteration.
See #2711
2023-10-13 08:09:32 -07:00
John Blum
8368692ebe Release version 3.1.5 (2023.0.5).
See #2711
2023-10-13 08:01:14 -07:00
John Blum
4328325b0b Prepare 3.1.5 (2023.0.5).
See #2711
2023-10-13 08:00:48 -07:00
Christoph Strobl
bb5b30fe00 Update native-image runtime hints.
Closes: #2729
2023-10-13 07:54:26 +02:00
Mark Paluch
3684484e61 Correctly apply Reactive zadd NX/XX command flags.
We now correctly apply if exists/if not exists constraints on the reactive zadd command.

Previously, we only considered upsert which wasn't sufficient to apply xx/nx.

Closes #2731
2023-10-12 10:03:25 +02:00
Mark Paluch
a0c8136d6b Polishing.
Remove superfluous versions. Improve make clean by removing stale pid files.

See #2711
2023-10-11 14:47:05 +02:00
John Blum
0815313f29 Upgrade to Maven Wrapper 3.9.5.
See #2724
2023-10-04 18:22:43 -07:00
John Blum
0a83027d00 Update CI properties.
See #2711
2023-10-04 17:46:55 -07:00
Mark Paluch
f86edd5bbc Fix broken unit tests.
Closes #2720
2023-09-28 14:41:33 +02:00
Mark Paluch
6a51b3da24 Refine RedisSerializer implementations.
This commit polishes up method ordering, introduces Javadoc where missing and updates nullability annotations and argument names.

Closes #1097
2023-09-21 14:59:19 +02:00
Mark Paluch
31f5539645 After release cleanups.
See #2686
2023-09-15 10:55:35 +02:00