Skip to content

Connecting Redis server via Sentinel is stuck #2379

Discussion options

You must be logged in to vote

Looks like I solved the issue
After I noticed that the Redis sentinel was answering I understood that the spring had some sort of deadlock so I looked at the code for references to the Redis bean
I found that we have a health indicator for the Redis that receives an instance of the Redis bean, so just mark the injected bean as @lazy solve the issue (probably letting the Redis lib complete the initialization)
@mp911de Thanks for the tip

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lior-nudelman-slaredge
Comment options

Comment options

You must be logged in to vote
1 reply
@mp911de
Comment options

Answer selected by lior-nudelman-slaredge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
status: waiting-for-feedback We need additional information before we can continue
2 participants