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

Fixed - RedisClusterNode scan, In cluster mode, all nodes cannot be s… #4242

Closed
wants to merge 1 commit into from

Conversation

dongmaxiang
Copy link

only modify the ScanCursor of multiple nodes . The scan command of a specified node is not modified
Different from another pull request #4240


Scan In cluster mode, other nodes cannot be scanned #4238
The reason is that the field client in the implementation of ScanCursor will affect the current entry node, resulting in the acquisition of connection is always the same node, and the node cannot be switched.
please give me more advice if there is something wrong

…canned,Not only a single node redisson#4238

Signed-off-by: old Cao <clk5858@163.com>
@mrniko
Copy link
Member

mrniko commented Apr 19, 2022

Thanks for suggested changes! I'm afraid they aren't correct. Since the client object should be used the same for the same entry. The issue is that if position == 0 then client should be set to null. Will fix that.

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

Successfully merging this pull request may close these issues.

None yet

2 participants