Comments (2)
We migrated our connection factories to Lifecycle
to delay the start of the connection resources opened by the connection factory and to have control over the shutdown. This migration comes clearly with behavioral changes as the connection is no longer available to @PreDestroy
/DisposableBean
phases.
Please implement SmartLifecycle
instead of using @PreDestroy
.
from spring-data-redis.
We migrated our connection factories to
Lifecycle
to delay the start of the connection resources opened by the connection factory and to have control over the shutdown. This migration comes clearly with behavioral changes as the connection is no longer available to@PreDestroy
/DisposableBean
phases.Please implement
SmartLifecycle
instead of using@PreDestroy
.
Thank you @mp911de and @wilkinsona , we will implement SmartLifecycle, we missed this point when upgrading the spring boot version. Our use case for redis connection in predestroy is rare in the development environment, so we noticed it after a few days.
from spring-data-redis.
Related Issues (20)
- threw exception; nested exception is java.lang.NoClassDefFoundError: redis/clients/jedis/GeoUnit HOT 1
- After timeout occurs on MULTI call every following transaction fails HOT 13
- Allow RedisConnectionFactories to be initialized as part of the context lifecycle
- Upgrade to Lettuce 6.3.2.RELEASE
- Cache reference documentation does not use variable HOT 1
- missing _class causes failure when deserializing to ObjectRecord again since version 3.0.0
- Release 3.1.11 (2023.0.11)
- Release 3.2.5 (2023.1.5)
- Release 3.3 RC1 (2024.0.0)
- Failed to use Java records as projections in Spring Data Redis repository HOT 2
- getClusterConnection.clusterGetNodes always return 1 node HOT 1
- Invalid links on the Overview tab HOT 1
- For GenericJackson2JsonRedisSerializer use custom NullValueSerializer HOT 1
- Let `QueryByExampleRedisExecutor` implement `ListQueryByExampleExecutor` HOT 1
- Index value for `@Index` column not removed after setting value to `null`
- `ReactiveKeyCommands.Exists` to check multiple key existence HOT 4
- is not supported for Redis query derivation HOT 1
- why pipeliningFlushPolicy default is not flushOnClose? HOT 8
- RedisTemplate.hasKey() Behavior Change with setEnableTransactionSupport = true HOT 1
- Pipelined usage of Redis Cluster with Lettuce fails for some commands that return `PipelinedRedisFuture` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-redis.