Skip to content
New issue

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

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

Already on GitHub? # to your account

Redis 锁无法释放,造成redis死锁造成大量的redis exists redis命令引起redis QPS异常飙升 #6876

Open
TMN-WH opened this issue Jul 10, 2024 · 1 comment

Comments

@TMN-WH
Copy link

TMN-WH commented Jul 10, 2024

版本号:

3.5.2

问题描述:

使用CacheEvict注解 在清理缓存时未对redis锁添加超时时间,一旦遇到网络问题或者程序异常退出会存在锁无法释放,造成死锁,下次进入时所有线程均无法获取锁,形成死锁且无法恢复。

错误截图:

20240710-150359

20240710-150604

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

zhangdaiscott commented Sep 6, 2024

redis
#6918 keys替换scan问题
#6907 keys替换scan问题
#6636 keys替换scan问题

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants