Commit Graph

2253 Commits

Author SHA1 Message Date
Christoph Strobl
6cff1397bc Prepare 2.4.5 (2020.0.5).
See #1973
2021-02-18 10:58:50 +01:00
Christoph Strobl
a3c000dd5f Updated changelog.
See #1973
2021-02-18 10:58:48 +01:00
Christoph Strobl
1c321b33b4 Updated changelog.
See #1944
2021-02-17 14:20:37 +01:00
Christoph Strobl
86ed251f62 After release cleanups.
See #1943
2021-02-17 13:41:55 +01:00
Christoph Strobl
777d410e5c Prepare next development iteration.
See #1943
2021-02-17 13:41:54 +01:00
Christoph Strobl
85b79120ff Release version 2.4.4 (2020.0.4).
See #1943
2021-02-17 12:00:24 +01:00
Christoph Strobl
b062d02b8b Prepare 2.4.4 (2020.0.4).
See #1943
2021-02-17 11:59:37 +01:00
Christoph Strobl
338ac0a30b Updated changelog.
See #1943
2021-02-17 11:59:36 +01:00
Christoph Strobl
b5c1f6c094 Updated changelog.
See #1830
2021-02-17 11:34:26 +01:00
Christoph Strobl
c959747abc Updated changelog.
See #1810
2021-02-17 10:58:30 +01:00
Christoph Strobl
5d3d2122c0 Move expires check to dedicated method.
Introduce helper method to unify expiry check and simplify control flow.

Original Pull Request: #1961
2021-02-16 12:09:38 +01:00
Muchnik Andrey
3f4df6d353 Remove phantom copy of expiring data when source gets persisted.
This commit makes sure to clean up resources when a previously expiring entity is persisted by setting the time to live to zero or negative.
In case a phantom copy exists for the changed entity, it is removed to free space on the server and prevent expiration events from being sent.

See #1955
Original Pull Request: #1961
2021-02-16 12:09:12 +01:00
Christoph Strobl
206d87fee2 Preserve order in SetConverter.
This commit fixes an issue where the order of elements in a set is not preserved when converting elements of the set.

Closes #1969.
Original pull request: #1968.
2021-02-15 14:57:17 +01:00
Christoph Strobl
443e37d552 Updated changelog.
See #1831
2021-01-13 15:49:53 +01:00
Christoph Strobl
069cec2cf8 After release cleanups.
See #1832
2021-01-13 15:01:50 +01:00
Christoph Strobl
2b29c9dce2 Prepare next development iteration.
See #1832
2021-01-13 15:01:49 +01:00
Christoph Strobl
b1e1874255 Release version 2.4.3 (2020.0.3).
See #1832
2021-01-13 14:18:34 +01:00
Christoph Strobl
2e976f8902 Prepare 2.4.3 (2020.0.3).
See #1832
2021-01-13 14:17:43 +01:00
Christoph Strobl
e75f41ca79 Updated changelog.
See #1832
2021-01-13 14:17:42 +01:00
Christoph Strobl
014ae63c69 Update issue tracker references after GitHub issues migration.
See: #1779
2021-01-13 08:22:12 +01:00
Mark Paluch
b28517906f Upgrade to Lettuce 6.0.2.RELEASE.
Closes #1940
2021-01-12 11:55:07 +01:00
Mark Paluch
98accd265d Update copyright year to 2021.
Closes #1942
2021-01-12 10:44:23 +01:00
Mark Paluch
cddc881f51 Upgrade to xstream 1.4.15.
Closes #1939
2021-01-11 15:13:39 +01:00
Greg L. Turnquist
3e355534c4 DATAREDIS-1258 - Polishing. 2020-12-16 09:36:55 -06:00
Greg L. Turnquist
0914bc9123 DATAREDIS-1258 - Use Docker hub credentials for all CI jobs. 2020-12-15 15:36:27 -06:00
Greg L. Turnquist
4da17f0759 DATAREDIS-1263 - Include proper import statements.
To ensure Kotlin builds work properly, certain types need explicit import statements.
2020-12-09 11:53:45 -06:00
Mark Paluch
e6c18c47d6 DATAREDIS-1249 - After release cleanups. 2020-12-09 16:46:55 +01:00
Mark Paluch
83119ee67b DATAREDIS-1249 - Prepare next development iteration. 2020-12-09 16:46:49 +01:00
Mark Paluch
f094a372e0 DATAREDIS-1249 - Release version 2.4.2 (2020.0.2). 2020-12-09 16:01:27 +01:00
Mark Paluch
e83d5f7400 DATAREDIS-1249 - Prepare 2.4.2 (2020.0.2). 2020-12-09 16:00:55 +01:00
Mark Paluch
0a625f9b40 DATAREDIS-1249 - Updated changelog. 2020-12-09 16:00:51 +01:00
Mark Paluch
e894d0124a DATAREDIS-1242 - Updated changelog. 2020-12-09 15:33:29 +01:00
Mark Paluch
e66ca76ad6 DATAREDIS-1240 - Updated changelog. 2020-12-09 12:42:30 +01:00
Mark Paluch
2ee443e1ac DATAREDIS-1239 - Updated changelog. 2020-12-09 09:59:19 +01:00
Pavel
48a29318c6 DATAREDIS-1257 - Update redis-repositories documentation.
Update reading converter sample since it converts `Map` to an `Address`, it shall have opposite declaration.

Original Pull Request: #575
2020-12-07 12:25:10 +01:00
Mark Paluch
55141f873b DATAREDIS-1230 - Revise error handling in StreamReceiver and StreamMessageListenerContainer.
Reading and deserialization in StreamReceiver and StreamMessageListener is now decoupled from each other to allow fine-grained control over errors and resumption.

Previously, we used the Template API to read and deserialize stream records. Now the actual read happens before the deserialization so that errors during deserialization of individual messages can be handled properly. This split also allows advancing in the stream read. Previously, the failed deserialization prevented of getting hold of the non-serialized Stream record which caused the stream receiver to remain at the offset that fetched the offending record which effectively lead to an infinite loop.

We also support a resume function in StreamReceiver to control whether stream reads should be resumed or terminated.

Original Pull Request: #576
2020-12-07 11:16:31 +01:00
Christoph Strobl
be22fc677a DATAREDIS-891 - Update documentation.
Update since tags, add issue reference and fix new line issues in reference documentation.

Original Pull Request: #573
2020-12-07 10:34:42 +01:00
Mark Paluch
c4cba7fe26 DATAREDIS-891 - Revise RedisConnection transaction/closure resource binding.
We now correctly consider the transactional state along with the requested bindings scope when binding RedisConnection for reuse.

Previously, enabling transaction support on RedisTemplate registered the connection unconditionally with TransactionSynchronizationManager expecting a TransactionManager to close/unbind the connection upon transaction cleanup. This behavior could easily lead to lingering connections when a transactional RedisTemplate was used outside of a managed transaction.

We now distinguish between closure-scope binding and transaction binding.

Closure-scoped bindings (RedisTemplate.execute(SessionCallback)) do not interfere with transactional resources if there's no transactionally bound RedisConnection.

Closure-scope however reuses a transactionally bound connection.

Transaction-scoped binding binds only a connection to the transaction if there's an active transaction. Without an ongoing transaction, RedisTemplate does no longer bind connections to TransactionSynchronizationManager.

Original Pull Request: #573
2020-12-07 10:34:27 +01:00
Mark Paluch
b14866c329 DATAREDIS-1254 - Upgrade to Xstream 1.4.14. 2020-11-17 15:56:30 +01:00
Mark Paluch
acd3ff3abb DATAREDIS-1241 - After release cleanups. 2020-11-11 12:14:54 +01:00
Mark Paluch
e24b9f61a6 DATAREDIS-1241 - Prepare next development iteration. 2020-11-11 12:14:51 +01:00
Mark Paluch
783265f5f3 DATAREDIS-1241 - Release version 2.4.1 (2020.0.1). 2020-11-11 11:59:00 +01:00
Mark Paluch
3ea93c9c4a DATAREDIS-1241 - Prepare 2.4.1 (2020.0.1). 2020-11-11 11:58:36 +01:00
Mark Paluch
476e659f00 DATAREDIS-1241 - Updated changelog. 2020-11-11 11:58:31 +01:00
Mark Paluch
6619b9f2fb DATAREDIS-1248 - Use fresh JedisConnectionFactory in PubSubTests.
We make sure to use a dedicated JedisConnectionFactory for Pub/Sub tests as connections can easily break in previous tests which causes connection synchronization issues in the connection itself and in consequence, tests fail with an unrelated cause.
2020-11-11 10:25:15 +01:00
Mark Paluch
e6ac965a3e DATAREDIS-1246 - Use Queue.offer(…) instead of Queue.add(…) to buffer Stream subscription overflow.
Using now the method implemented by SpscArrayQueue instead of the not implemented one.
2020-11-11 09:56:38 +01:00
Christoph Strobl
0811b520be DATAREDIS-1245 - Use ClassUtils for assignable check in connection.ReturnType.
Original Pull Request: #571
2020-11-10 12:34:01 +01:00
Mark Paluch
c966d20565 DATAREDIS-1245 - Polishing.
Fix Javadoc and generics.
2020-11-10 12:33:56 +01:00
Mark Paluch
143d341563 DATAREDIS-1245 - Consider List subtypes used with RedisScript as MULTI return type.
We now consider List and subtypes of List to be returned as MULTI return type. Previously, List subtypes were considered to represent the value type.

Original Pull Request: #571
2020-11-10 12:33:46 +01:00
Mark Paluch
62f9da676b DATAREDIS-1232 - Enable maintenance branch build. 2020-10-29 09:52:40 +01:00