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

执行redisClusterCommand时报错ctx get by node is null,请问是什么原因? #130

Open
okayabc opened this issue Feb 29, 2020 · 4 comments

Comments

@okayabc
Copy link

okayabc commented Feb 29, 2020

已经connect成功了,我用的是redisClusterConnect2

@smokerNo39
Copy link

gdb跟了一下,执行命令时从node_get_by_table获取的port是-1。猜测是现在版本redis获取节点信息时后面有@导致的,下面也有人提出同样的问题……

@sspeng
Copy link

sspeng commented Sep 1, 2020

如何解决?

@notsureit
Copy link

不支持新版本的redis,新版本的CLUSTER NODES返回的结果,多了个:port,解析就不对了,要么自己改,愿意尝试的可以用我的fork试试,不过仅支持libevent。

@7immy5haw
Copy link

这个解决了
#102

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

5 participants