Skip to content
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

cluster模式下,键空间通知有的key过期能收到通知,有的key收不到 #177

Open
fuhaodev opened this issue Sep 1, 2023 · 2 comments

Comments

@fuhaodev
Copy link

fuhaodev commented Sep 1, 2023

redis部署cluster模式,配置notify-keyspace-events Ex,连接predixy代理,有的key过期能收到通知,有的key过期收不到通知

@fuhaodev fuhaodev changed the title cluster模式下,键空间通知有的key能收到通知,有的key收不到 cluster模式下,键空间通知有的key过期能收到通知,有的key收不到 Sep 1, 2023
@fortrue
Copy link
Member

fortrue commented Oct 30, 2023

因为RedisCluster键空间通知和普通的PubSub机制不一样,不会进行全集群节点通知,所以只会收到当前连接节点的键空间通知。可以试试新的版本https://github.com/joyieldInc/predixy/releases/tag/7.0.0

@fuhaodev
Copy link
Author

因为RedisCluster的键空间通知和普通的PubSub不一样,不会进行全集群节点通知,所以只能收到当前机制连接节点的键空间通知。可以尝试新的版本https://github.com/joyieldInc/ predixy/releases/tag/7.0.0

赞👍🏻

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

No branches or pull requests

2 participants