Skip to content

When the Redis process freezes, spring-data-redis cannot obtain the latest sentinel selected master node unless the program is restarted。 #3128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
liyabing12138 opened this issue Mar 31, 2025 · 2 comments
Labels
for: external-project For an external project and not something we can fix

Comments

@liyabing12138
Copy link

liyabing12138 commented Mar 31, 2025

When the Redis process freezes, spring-data-redis cannot obtain the latest sentinel selected master node unless the program is restarted。
The configuration is as follows

spring:
  cache:
    type: redis
  data:
    redis:
      password: xxx
      sentinel:
        master: xx
        password: xxxxx
        nodes:
          - xx.xx.xx.xx:xx
          - xx.xx.xx.xx:xx
          - xx.xx.xx.xx:xx
      lettuce:
        pool:
          max-active: 250
          min-idle: 10
          max-idle: 50

Image

@liyabing12138
Copy link
Author

Image

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 31, 2025
@mp911de
Copy link
Member

mp911de commented Apr 7, 2025

Thanks for reaching out. The timeout comes from the driver and frankly, there isn't much we can do here other than rely on how you've configured the driver. Lettuce has a bit of documentation on timeouts, please check the reference documentation. Since there's nothing we can do here, we're closing the ticket.

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2025
@mp911de mp911de added for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

3 participants