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

对于分片集群,请问predixy是否存在切换连接分片的方式 #175

Open
zoutao0909 opened this issue Aug 7, 2023 · 3 comments

Comments

@zoutao0909
Copy link

通过predixy可以使用scan命令扫库,但是只能取到当前连接的某一个分片的数据,不能获取到整个分片集群的所有分片的所有数据,但是又没办法切换分片,请问这种情况下,有什么办法获取分片集群的所有数据吗,像这种分片集群部署在内网的情况,通过部署predixy的方式对外暴露服务,predixy存在切换连接分片的功能吗,不然的话在数据迁移的场景下,不管是通过psync还是通过scan方式都没办法准确拿到分片集群完整的数据,请问这种场景在使用predixy的情况下您这边有对应的解决办法吗

@caojiajun
Copy link

你不能绕过proxy去scan后端实际的redis节点吗?

@zoutao0909
Copy link
Author

多谢回复!直连当然没问题,我只是想问问predixy是否会有这种场景支持。想多了解一下predixy。

@fortrue
Copy link
Member

fortrue commented Oct 30, 2023

Predixy一直都支持直接scan整个后端Redis集群

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

3 participants